Skip to content

Commit 7a64444

Browse files
committed
wip3
1 parent b55f27d commit 7a64444

1 file changed

Lines changed: 10 additions & 12 deletions

File tree

.github/workflows/build.yml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,30 +3,28 @@ name: Build x86 emulator
33
on: [push,pull_request]
44

55
jobs:
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-

0 commit comments

Comments
 (0)