File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,30 +3,28 @@ name: Build x86 emulator
33on : [push,pull_request]
44
55jobs :
6+ strategy :
7+ matrix :
8+ config :
9+ - name : linux
10+ os : ubuntu-latest
11+ - name : maxos
12+ os : macos-latest
613 build1 :
714 name : Build x86 emulator on Linux
815 runs-on : ubuntu-latest
916 steps :
1017 - uses : actions/checkout@v2
1118 - uses : libsdl-org/setup-sdl@main
19+ if : runner.os == 'Linux'
1220 id : sdl
1321 with :
1422 install-linux-dependencies : true
1523 version : 2.30.9
16- - name : Generate build system
17- run : cmake .
18- - name : Build
19- run : cmake --build .
20-
21- build2 :
22- name : Build x86 emulator on Macos
23- runs-on : macos-latest
24- steps :
25- - uses : actions/checkout@v2
26- - name : brew install
24+ - name : brew install
25+ if : runner.os == 'macOS'
2726 run : brew install -q sdl2
2827 - name : Generate build system
2928 run : cmake .
3029 - name : Build
3130 run : cmake --build .
32-
You can’t perform that action at this time.
0 commit comments