-
-
Notifications
You must be signed in to change notification settings - Fork 30
30 lines (24 loc) · 964 Bytes
/
Copy pathFullCompileCheck.yml
File metadata and controls
30 lines (24 loc) · 964 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Full Compile Check
on: [workflow_dispatch]
jobs:
full-compile-check:
name: ${{ matrix.platform.name }}
runs-on: ${{ matrix.platform.os }}
timeout-minutes: 5
strategy:
fail-fast: false
matrix:
platform:
- { name: Linux/GCC, os: ubuntu-latest, extraflags: "--system-sdl" }
- { name: Linux/Clang, os: ubuntu-latest, extraflags: "--system-sdl", prefix: "CC=clang CXX=clang++"}
- { name: Windows/VS2022, os: windows-2022, extraflags: "-G 'Visual Studio 17 2022'" }
- { name: Mac, os: macos-latest }
steps:
- name: Install Linux build dependencies
if: runner.os == 'Linux'
run: |
sudo apt update
sudo apt install libsdl3-dev
- uses: actions/checkout@v4
with: {submodules: 'recursive'}
- run: ${{matrix.platform.prefix}} python3 build.py --dependencies --configure --build ${{matrix.platform.extraflags}}