Skip to content

Commit cb3a028

Browse files
authored
Merge pull request Quark-Engine#7 from 4ipset111/main
Update Actions
2 parents c7472ab + d2bed3b commit cb3a028

1 file changed

Lines changed: 10 additions & 8 deletions

File tree

.github/workflows/build.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,8 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
include:
15-
- os: ubuntu-latest
16-
build_type: Release
17-
- os: windows-latest
18-
build_type: Debug
14+
os: [ubuntu-latest, windows-latest]
15+
build_type: [Debug, Release]
1916

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

@@ -36,9 +33,15 @@ jobs:
3633
libxinerama-dev \
3734
libxcursor-dev \
3835
libxxf86vm-dev
39-
- name: Configure CMake
36+
37+
- name: Configure CMake (Linux)
38+
if: runner.os == 'Linux'
4039
run: cmake -S . -B build -DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
4140

41+
- name: Configure CMake (Windows)
42+
if: runner.os == 'Windows'
43+
run: cmake -S . -B build
44+
4245
- name: Build
4346
run: cmake --build build --config ${{ matrix.build_type }} --parallel
4447

@@ -61,5 +64,4 @@ jobs:
6164
path: |
6265
build/bin/QuarkEngine
6366
build/bin/assets/**
64-
if-no-files-found: warn
65-
67+
if-no-files-found: warn

0 commit comments

Comments
 (0)