Skip to content

Commit f149af3

Browse files
authored
Merge pull request #14 from Arcnor/main
enable CI for building
2 parents 6b1fa65 + 5c1a8ae commit f149af3

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/build.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Descent 3 Build
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
jobs:
10+
build:
11+
strategy:
12+
fail-fast: false
13+
14+
matrix:
15+
os: [windows-latest]
16+
build_type: [Debug, Release]
17+
18+
runs-on: ${{ matrix.os }}
19+
20+
steps:
21+
- uses: actions/checkout@v4
22+
23+
- name: Configure CMake
24+
run: cmake -B ${{github.workspace}}/build -A "Win32"
25+
26+
- name: Build
27+
run: cmake --build ${{github.workspace}}/build --config ${{matrix.build_type}}
28+
29+
- name: 'Upload Artifacts'
30+
uses: actions/upload-artifact@v4
31+
with:
32+
name: build_${{matrix.build_type}}
33+
path: ${{github.workspace}}/build/Descent3/${{matrix.build_type}}

0 commit comments

Comments
 (0)