Skip to content

Commit

Permalink
enable CI for building
Browse files Browse the repository at this point in the history
  • Loading branch information
Arcnor committed Apr 16, 2024
1 parent cce1a49 commit 44cde05
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Descent 3 Build

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:
strategy:
fail-fast: false

matrix:
os: [windows-latest]
build_type: [Debug, Release]

runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v3

- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -A "Win32"

- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{matrix.build_type}}

- name: 'Upload Artifacts'
uses: actions/upload-artifact@v4
with:
name: build_${{matrix.build_type}}
path: ${{github.workspace}}/build/${{matrix.build_type}}

0 comments on commit 44cde05

Please sign in to comment.