Skip to content
This repository was archived by the owner on Jul 22, 2024. It is now read-only.

Commit 7df2160

Browse files
authored
Alright, Cross-Platform!!11
1 parent 1e8f1d0 commit 7df2160

File tree

1 file changed

+16
-11
lines changed

1 file changed

+16
-11
lines changed

.github/workflows/compile.yml

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,7 @@
55

66
name: Game
77

8-
on:
9-
push:
10-
branches: [ "master" ]
11-
paths:
12-
- common/**
13-
- devtools/**
14-
- game/**
15-
- public/**
16-
- responserules/**
17-
pull_request:
18-
branches: [ "master" ]
8+
on: release
199

2010
env:
2111
# Path to the solution file relative to the root of the project.
@@ -34,6 +24,21 @@ jobs:
3424
runs-on: windows-latest
3525
steps:
3626
- uses: actions/checkout@v4
27+
28+
# On Windows runners, let's ensure to have the Developer Command Prompt environment setup correctly.
29+
# As used here the Developer Command Prompt created is targeting x64 and using the default the Windows SDK.
30+
- uses: ilammy/msvc-dev-cmd@v1
31+
32+
- name: Build
33+
working-directory: ${{env.GITHUB_WORKSPACE}}
34+
# Add additional options to the MSBuild command line here (like platform or verbosity level).
35+
# See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference
36+
run: cmake -S . -B ./BUILD
37+
38+
Linux:
39+
runs-on: ubuntu-latest
40+
steps:
41+
- uses: actions/checkout@v4
3742

3843
- name: Build
3944
working-directory: ${{env.GITHUB_WORKSPACE}}

0 commit comments

Comments
 (0)