forked from ossia/score
-
Notifications
You must be signed in to change notification settings - Fork 0
110 lines (89 loc) · 2.33 KB
/
ubuntu-builds.yaml
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
name: Ubuntu build
on: push
jobs:
bionic_gcc:
name: Ubuntu (Bionic, GCC 8)
runs-on: ubuntu-latest
container:
image: ubuntu:bionic
steps:
- name: Install git
run: |
apt-get update -qq
apt-get install -qq software-properties-common
add-apt-repository ppa:git-core/ppa
apt-get update -qq
apt-get install -qq --force-yes git
- name: Checkout code
uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: Dependencies
run: |
./ci/bionic.deps.sh
- name: Build
run: |
CC=gcc-8 CXX=g++-8 ./ci/bionic.build.sh
bionic_clang:
name: Ubuntu (Bionic, Clang 10)
runs-on: ubuntu-latest
container:
image: ubuntu:bionic
steps:
- name: Install git
run: |
apt-get update -qq
apt-get install -qq software-properties-common
add-apt-repository ppa:git-core/ppa
apt-get update -qq
apt-get install -qq --force-yes git
- name: Checkout code
uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: Dependencies
run: |
./ci/bionic.deps.sh
- name: Build
run: |
CC=clang-10 CXX=clang++-10 ./ci/bionic.build.sh
focal_gcc:
name: Ubuntu (Focal, GCC)
runs-on: ubuntu-latest
container:
image: ubuntu:focal
steps:
- name: Install git
run: |
apt-get update -qq
apt-get install -qq --force-yes git
- name: Checkout code
uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: Dependencies
run: |
./ci/focal.deps.sh
- name: Build
run: |
CC=gcc-10 CXX=g++-10 ./ci/focal.build.sh
focal_clang:
name: Ubuntu (Focal, Clang)
runs-on: ubuntu-latest
container:
image: ubuntu:focal
steps:
- name: Install git
run: |
apt-get update -qq
apt-get install -qq --force-yes git
- name: Checkout code
uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: Dependencies
run: |
./ci/focal.deps.sh
- name: Build
run: |
CC=clang-10 CXX=clang++-10 ./ci/focal.build.sh