Commit 3146260 1 parent fc4d70e commit 3146260 Copy full SHA for 3146260
File tree 1 file changed +37
-0
lines changed
1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on : [push, pull_request]
4
+
5
+ defaults :
6
+ run :
7
+ shell : bash
8
+
9
+ jobs :
10
+ build :
11
+ name : ${{ matrix.platform.name }} ${{ matrix.config.name }}
12
+ runs-on : ${{ matrix.platform.os }}
13
+
14
+ strategy :
15
+ fail-fast : false
16
+ matrix :
17
+ platform :
18
+ - { name: Windows Clang, os: windows-latest, flags: -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ }
19
+ - { name: Ubuntu Clang, os: ubuntu-latest, flags: -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ }
20
+ - { name: macOS Clang, os: macos-latest, flags: -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ }
21
+ config :
22
+ - { name: Debug, flags: -DCMAKE_BUILD_TYPE=Debug }
23
+ - { name: Release, flags: -DCMAKE_BUILD_TYPE=Release }
24
+
25
+ steps :
26
+ - name : Install Linux Dependencies
27
+ if : runner.os == 'Linux'
28
+ run : sudo apt-get update && sudo apt-get install libxrandr-dev libxcursor-dev libxi-dev libudev-dev libflac-dev libvorbis-dev libgl1-mesa-dev libegl1-mesa-dev libfreetype-dev
29
+
30
+ - name : Checkout
31
+ uses : actions/checkout@v4
32
+
33
+ - name : Configure
34
+ run : cmake -B build ${{matrix.platform.flags}} ${{matrix.config.flags}}
35
+
36
+ - name : Build
37
+ run : cmake --build build --config Release
You can’t perform that action at this time.
0 commit comments