Skip to content

Commit 09b82eb

Browse files
committed
GitHub Actions: Try gcc 8 and gcc 9 too
1 parent a7d09ad commit 09b82eb

File tree

2 files changed

+50
-0
lines changed

2 files changed

+50
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: "CI: autotools: gcc 10"
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-20.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++-10
16+
export CXX=g++-10
17+
./autogen.sh --enable-warnings=fatal
18+
make
19+
- name: Test
20+
run: make check
21+
- name: Distcheck
22+
run: |
23+
# distcheck runs configure again so we need to specify CXX again.
24+
export CXX=g++-10
25+
make distcheck

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

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: "CI: autotools: gcc 9"
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-20.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++-9
16+
export CXX=g++-9
17+
./autogen.sh --enable-warnings=fatal
18+
make
19+
- name: Test
20+
run: make check
21+
- name: Distcheck
22+
run: |
23+
# distcheck runs configure again so we need to specify CXX again.
24+
export CXX=g++-9
25+
make distcheck

0 commit comments

Comments
 (0)