forked from tomatenquark/code
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (36 loc) · 1.01 KB
/
continous-integration.yml
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
36
37
name: Continous integration for Tomatenquark
on: [push]
jobs:
build-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
with:
lfs: true
- name: Build for OSX
working-directory: ./src/xcode
run: xcodebuild
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
with:
lfs: true
- name: Setup MSBuild
uses: warrenbuckley/Setup-MSBuild@v1
- name: Build for Windows
working-directory: ./src/vcpp
run: msbuild /p:PlatformToolset=v142 /property:Platform=x64 tomatenquark.sln
build-ubuntu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
lfs: true
- name: Install C and C++ header files
run: |
sudo apt-get update
sudo apt-get install -y libsdl-dev libsdl2-mixer-dev libsdl2-image-dev zlib1g-dev libcurl4-openssl-dev
- name: Build for Ubuntu
working-directory: ./src
run: make