-
Notifications
You must be signed in to change notification settings - Fork 4
35 lines (31 loc) · 785 Bytes
/
build.yml
File metadata and controls
35 lines (31 loc) · 785 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
31
32
33
34
35
name: Build x86 emulator
on: [push,pull_request]
jobs:
build1:
name: Build x86 emulator on Linux
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: libsdl-org/setup-sdl@main
id: sdl
with:
install-linux-dependencies: true
version: 2.30.9
- name: Generate build system
run: cmake .
- name: Build
run: cmake --build .
build2:
name: Build x86 emulator on Macos
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: libsdl-org/setup-sdl@main
id: sdl
with:
install-linux-dependencies: true
version: 2.30.9
- name: Generate build system
run: cmake -DSDL2_SHARED=OFF -DSDL2_STATIC=ON .
- name: Build
run: cmake --build .