Skip to content

Commit 2080e52

Browse files
SiegeLordExSiegeLord
authored andcommitted
Setup OSX CI.
1 parent 926226d commit 2080e52

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,27 @@ name: Tests
22
on: [push, pull_request]
33

44
jobs:
5-
test:
5+
osx_test:
6+
name: OSX tests
7+
runs-on: macos-latest
8+
steps:
9+
- name: Checkout
10+
uses: actions/checkout@v1
11+
with:
12+
fetch-depth: 1
13+
- name: Setup
14+
run: |
15+
brew update && brew install opusfile libvorbis freetype flac physfs dumb theora enet
16+
mkdir build
17+
- name: Configure
18+
run: |
19+
cd build
20+
cmake .. -DWANT_SHADERS_GL=$WANT_SHADERS_GL -G Xcode
21+
- name: Build
22+
run: |
23+
cd build
24+
xcodebuild
25+
ubuntu_test:
626
name: Ubuntu tests
727
runs-on: ubuntu-latest
828
steps:

0 commit comments

Comments
 (0)