-
Notifications
You must be signed in to change notification settings - Fork 10
62 lines (48 loc) · 1.25 KB
/
continuous.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
name: Continuous Integration
on:
push:
branches: [ master ]
tags-ignore:
- 'v*' # Don't run if tagged as v*.
jobs:
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: mkdir
run: mkdir ci_windows
- name: build
run: |
cmake ../src
cmake --build . --config Release
working-directory: ./ci_windows
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: mkdir
run: mkdir ci_ubuntu
- name: install-OpenGL
run: |
sudo apt-get update
sudo apt-get install libglu1-mesa-dev mesa-common-dev
- name: install-ALSA
run: sudo apt-get install libasound2 libasound2-dev
- name: cmake
run: cmake ../src -DCMAKE_BUILD_TYPE=Release
working-directory: ./ci_ubuntu
- name: build
run: cmake --build . --config Release
working-directory: ./ci_ubuntu
build-macos:
runs-on: macos-12
steps:
- uses: actions/checkout@v2
- name: mkdir
run: mkdir ci_macos
- name: cmake
run: cmake ../src -DCMAKE_BUILD_TYPE=Release
working-directory: ./ci_macos
- name: build
run: cmake --build .
working-directory: ./ci_macos