mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-20 00:02:55 +00:00
reenable gitlab buildpipeline for gcc linux builds
This commit is contained in:
parent
159414d39c
commit
f9d515f141
@ -1,57 +0,0 @@
|
||||
stages:
|
||||
- build
|
||||
- test
|
||||
|
||||
variables:
|
||||
BUILD_APP: "MSBuild.exe"
|
||||
TEST_APP: "vstest.console.exe"
|
||||
|
||||
.build:
|
||||
stage: build
|
||||
cache:
|
||||
paths:
|
||||
- build/
|
||||
tags:
|
||||
- build
|
||||
- cpp
|
||||
- dotnet
|
||||
- windows
|
||||
- powershell
|
||||
script:
|
||||
- "./generate.bat"
|
||||
- "& \"$BUILD_APP\" build/OpenAssetTools.sln -t:restore -t:build -m -p:Configuration=Release -p:Platform=x86 -p:RestorePackagesPath=build/packages"
|
||||
|
||||
build:withartifacts:
|
||||
stage: build
|
||||
extends: .build
|
||||
only:
|
||||
refs:
|
||||
- master
|
||||
- develop
|
||||
artifacts:
|
||||
name: "OpenAssetTools"
|
||||
paths:
|
||||
- build/bin
|
||||
|
||||
build:noartifacts:
|
||||
stage: build
|
||||
extends: .build
|
||||
except:
|
||||
refs:
|
||||
- master
|
||||
- develop
|
||||
|
||||
|
||||
test:
|
||||
stage: test
|
||||
cache:
|
||||
paths:
|
||||
- build/
|
||||
tags:
|
||||
- test
|
||||
- cpp
|
||||
- dotnet
|
||||
- windows
|
||||
- powershell
|
||||
script:
|
||||
- "& \"$TEST_APP\" --InIsolation build/lib/Release_X86/tests/ZoneCodeGeneratorTests.dll build/lib/Release_X86/tests/ZoneCommonTests.dll"
|
33
.gitlab-ci.yml
Normal file
33
.gitlab-ci.yml
Normal file
@ -0,0 +1,33 @@
|
||||
stages:
|
||||
- build
|
||||
- test
|
||||
|
||||
build-gcc:
|
||||
image: gcc:latest
|
||||
stage: build
|
||||
cache:
|
||||
paths:
|
||||
- build/
|
||||
tags:
|
||||
- build
|
||||
- docker
|
||||
- linux
|
||||
script:
|
||||
- "./generate.sh"
|
||||
- "make -C build -j$(nproc) config=release_x86 all"
|
||||
|
||||
test-gcc:
|
||||
stage: test
|
||||
cache:
|
||||
paths:
|
||||
- build/
|
||||
tags:
|
||||
- build
|
||||
- docker
|
||||
- linux
|
||||
script:
|
||||
- "./generate.sh"
|
||||
- "make -C build -j$(nproc) config=release_x86 ObjCommonTests ZoneCodeGeneratorLibTests ZoneCommonTests"
|
||||
- "./build/lib/Release_x86/tests/ObjCommonTests"
|
||||
- "./build/lib/Release_x86/tests/ZoneCodeGeneratorLibTests"
|
||||
- "./build/lib/Release_x86/tests/ZoneCommonTests"
|
Loading…
x
Reference in New Issue
Block a user