Skip to content

Commit 781ce35

Browse files
committed
GitHub Actions: Use specific compiler versions
We only try compiler versions that are known to have C++17 support. There is no point in trying older compiler versions.
1 parent a98df23 commit 781ce35

File tree

6 files changed

+115
-19
lines changed

6 files changed

+115
-19
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: "CI: autotools: clang 5"
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-18.04
9+
10+
steps:
11+
- uses: actions/checkout@v1
12+
- name: Build
13+
run: |
14+
sudo apt update
15+
sudo apt install mm-common clang-5.0
16+
export CXX=clang++-5.0
17+
./autogen.sh
18+
./configure
19+
make
20+
- name: Test
21+
run: make check
22+
- name: Distcheck
23+
run: make distcheck
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: "CI: autotools: clang 6"
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-18.04
9+
10+
steps:
11+
- uses: actions/checkout@v1
12+
- name: Build
13+
run: |
14+
sudo apt update
15+
sudo apt install mm-common clang-6.0
16+
export CXX=clang++-6.0
17+
./autogen.sh
18+
./configure
19+
make
20+
- name: Test
21+
run: make check
22+
- name: Distcheck
23+
run: make distcheck
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: "CI: autotools: clang 7"
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-18.04
9+
10+
steps:
11+
- uses: actions/checkout@v1
12+
- name: Build
13+
run: |
14+
sudo apt update
15+
sudo apt install mm-common clang-7
16+
export CXX=clang++-7
17+
./autogen.sh
18+
./configure
19+
make
20+
- name: Test
21+
run: make check
22+
- name: Distcheck
23+
run: make distcheck

.github/workflows/autotools-gcc-7.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: "CI: autotools: gcc 7"
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-18.04
9+
10+
steps:
11+
- uses: actions/checkout@v1
12+
- name: Build
13+
run: |
14+
sudo apt update
15+
sudo apt install mm-common g++-7
16+
export CXX=g++-7
17+
./autogen.sh
18+
./configure
19+
make
20+
- name: Test
21+
run: make check
22+
- name: Distcheck
23+
run: make distcheck

.github/workflows/autotools-gcc-8.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: "CI: autotools: gcc 8"
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-18.04
9+
10+
steps:
11+
- uses: actions/checkout@v1
12+
- name: Build
13+
run: |
14+
sudo apt update
15+
sudo apt install mm-common g++-8
16+
export CXX=g++-8
17+
./autogen.sh
18+
./configure
19+
make
20+
- name: Test
21+
run: make check
22+
- name: Distcheck
23+
run: make distcheck

.github/workflows/autotools.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)