Description:
Add CI support.
This is a cleaned up version of add-gitlab-ci.
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
@@ -0,0 +1,26 | |||||
|
|
1 | |||
|
|
2 | stages: | ||
|
|
3 | - build | ||
|
|
4 | |||
|
|
5 | build-debug: | ||
|
|
6 | stage: build | ||
|
|
7 | script: | ||
|
|
8 | - dotnet build isometric-park-fna-core.sln -f netcoreapp3.1 | ||
|
|
9 | image: mcr.microsoft.com/dotnet/sdk:3.1-focal | ||
|
|
10 | |||
|
|
11 | |||
|
|
12 | build-release-windows: | ||
|
|
13 | stage: build | ||
|
|
14 | script: | ||
|
|
15 | - dotnet build isometric-park-fna-core.sln -f netcoreapp3.1 -c Release | ||
|
|
16 | image: mcr.microsoft.com/dotnet/sdk:3.1 | ||
|
|
17 | |||
|
|
18 | build-release: | ||
|
|
19 | stage: build | ||
|
|
20 | script: | ||
|
|
21 | - dotnet build isometric-park-fna-core.sln -f netcoreapp3.1 -c Release | ||
|
|
22 | artifacts: | ||
|
|
23 | paths: | ||
|
|
24 | - screenshot.xwd | ||
|
|
25 | expire_in: 1 week | ||
|
|
26 | image: mcr.microsoft.com/dotnet/sdk:3.1-focal |
@@ -0,0 +1,12 | |||||
|
|
1 | |||
|
|
2 | |||
|
|
3 | using Microsoft.Xna.Framework; | ||
|
|
4 | |||
|
|
5 | using Encompass; | ||
|
|
6 | |||
|
|
7 | namespace isometricparkfna.Components { | ||
|
|
8 | |||
|
|
9 | public struct GameStateComponent : IComponent { | ||
|
|
10 | public bool isPlaying; | ||
|
|
11 | } | ||
|
|
12 | } |
@@ -22,10 +22,14 | |||||
|
22 |
|
22 | ||
|
23 |
|
23 | ||
|
24 | run-core-debug: |
|
24 | run-core-debug: |
|
25 | cd isometric-park-fna/bin/Debug/netcoreapp3.1; LD_LIBRARY_PATH="../../../fnalibs/lib64" DYLD_LIBRARY_PATH="../../../../fnalibs/osx" dotnet ./isometric-park-fna.dll |
|
25 | cd isometric-park-fna/bin/Debug/netcoreapp3.1; LD_LIBRARY_PATH="../../../../fnalibs/lib64" DYLD_LIBRARY_PATH="../../../../fnalibs/osx" dotnet ./isometric-park-fna.dll |
|
26 |
|
26 | ||
|
27 | run-core-release: |
|
27 | run-core-release: |
|
28 | cd isometric-park-fna/bin/Release/netcoreapp3.1; LD_LIBRARY_PATH="../../../fnalibs/lib64" DYLD_LIBRARY_PATH="../../../../fnalibs/osx" dotnet ./isometric-park-fna.dll |
|
28 | cd isometric-park-fna/bin/Release/netcoreapp3.1; LD_LIBRARY_PATH="../../../../fnalibs/lib64" DYLD_LIBRARY_PATH="../../../../fnalibs/osx" dotnet ./isometric-park-fna.dll |
|
|
29 | |||
|
|
30 | |||
|
|
31 | run-core-release-xvfb: | ||
|
|
32 | cd isometric-park-fna/bin/Release/netcoreapp3.1; LD_LIBRARY_PATH="../../../../fnalibs/lib64" DYLD_LIBRARY_PATH="../../../../fnalibs/osx" xvfb-run -a -s "-screen 0 1400x900x24 +extension RANDR +extension GLX +extension RENDER" -- dotnet ./isometric-park-fna.dll | ||
|
29 |
|
33 | ||
|
30 |
|
34 | ||
|
31 | run-framework-release: |
|
35 | run-framework-release: |
You need to be logged in to leave comments.
Login now