summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2019-10-27 22:21:51 +0100
committerMurray Cumming <murrayc@murrayc.com>2019-10-27 22:50:48 +0100
commit94f2fe5e8c62c001da9cbbbd14e5efa6a0302df6 (patch)
treef1b435edb9dbf423fd1fbc4f7a86ea0109b5cee5
parentb486a13e14cd2596532e97bd089b85742dcba8e3 (diff)
downloadsigc++-94f2fe5e8c62c001da9cbbbd14e5efa6a0302df6.tar.gz
GitHub Actions CI: Specify CXX before make distcheck
As in the build step. Otherwise, the distcheck's configure run will just pick up the default compiler again.
-rw-r--r--.github/workflows/autotools-clang-5.yml5
-rw-r--r--.github/workflows/autotools-clang-6.yml5
-rw-r--r--.github/workflows/autotools-clang-7.yml5
-rw-r--r--.github/workflows/autotools-clang-8.yml5
-rw-r--r--.github/workflows/autotools-clang-9.yml5
-rw-r--r--.github/workflows/autotools-gcc-7.yml5
-rw-r--r--.github/workflows/autotools-gcc-8.yml5
-rw-r--r--.github/workflows/autotools-gcc-9.yml5
8 files changed, 32 insertions, 8 deletions
diff --git a/.github/workflows/autotools-clang-5.yml b/.github/workflows/autotools-clang-5.yml
index 69fa140..84b3a46 100644
--- a/.github/workflows/autotools-clang-5.yml
+++ b/.github/workflows/autotools-clang-5.yml
@@ -20,4 +20,7 @@ jobs:
- name: Test
run: make check
- name: Distcheck
- run: make distcheck
+ run: |
+ # distcheck runs configure again so we need to specify CXX again.
+ export CXX=clang++-5.0
+ make distcheck
diff --git a/.github/workflows/autotools-clang-6.yml b/.github/workflows/autotools-clang-6.yml
index a2643db..61697ae 100644
--- a/.github/workflows/autotools-clang-6.yml
+++ b/.github/workflows/autotools-clang-6.yml
@@ -20,4 +20,7 @@ jobs:
- name: Test
run: make check
- name: Distcheck
- run: make distcheck
+ run: |
+ # distcheck runs configure again so we need to specify CXX again.
+ export CXX=clang++-6.0
+ make distcheck
diff --git a/.github/workflows/autotools-clang-7.yml b/.github/workflows/autotools-clang-7.yml
index 4aefe08..bd5da67 100644
--- a/.github/workflows/autotools-clang-7.yml
+++ b/.github/workflows/autotools-clang-7.yml
@@ -20,4 +20,7 @@ jobs:
- name: Test
run: make check
- name: Distcheck
- run: make distcheck
+ run: |
+ # distcheck runs configure again so we need to specify CXX again.
+ export CXX=clang++-7
+ make distcheck
diff --git a/.github/workflows/autotools-clang-8.yml b/.github/workflows/autotools-clang-8.yml
index 8e2e423..2344588 100644
--- a/.github/workflows/autotools-clang-8.yml
+++ b/.github/workflows/autotools-clang-8.yml
@@ -20,4 +20,7 @@ jobs:
- name: Test
run: make check
- name: Distcheck
- run: make distcheck
+ run: |
+ # distcheck runs configure again so we need to specify CXX again.
+ export CXX=clang++-8
+ make distcheck
diff --git a/.github/workflows/autotools-clang-9.yml b/.github/workflows/autotools-clang-9.yml
index b2f9af6..cde6e74 100644
--- a/.github/workflows/autotools-clang-9.yml
+++ b/.github/workflows/autotools-clang-9.yml
@@ -21,4 +21,7 @@ jobs:
- name: Test
run: make check
- name: Distcheck
- run: make distcheck
+ run: |
+ # distcheck runs configure again so we need to specify CXX again.
+ export CXX=clang++-9
+ make distcheck
diff --git a/.github/workflows/autotools-gcc-7.yml b/.github/workflows/autotools-gcc-7.yml
index 31918c1..7996cdf 100644
--- a/.github/workflows/autotools-gcc-7.yml
+++ b/.github/workflows/autotools-gcc-7.yml
@@ -20,4 +20,7 @@ jobs:
- name: Test
run: make check
- name: Distcheck
- run: make distcheck
+ run: |
+ # distcheck runs configure again so we need to specify CXX again.
+ export CXX=g++-7
+ make distcheck
diff --git a/.github/workflows/autotools-gcc-8.yml b/.github/workflows/autotools-gcc-8.yml
index 08e9b13..9b7279d 100644
--- a/.github/workflows/autotools-gcc-8.yml
+++ b/.github/workflows/autotools-gcc-8.yml
@@ -20,4 +20,7 @@ jobs:
- name: Test
run: make check
- name: Distcheck
- run: make distcheck
+ run: |
+ # distcheck runs configure again so we need to specify CXX again.
+ export CXX=g++-8
+ make distcheck
diff --git a/.github/workflows/autotools-gcc-9.yml b/.github/workflows/autotools-gcc-9.yml
index 9f4c126..cdfb3ea 100644
--- a/.github/workflows/autotools-gcc-9.yml
+++ b/.github/workflows/autotools-gcc-9.yml
@@ -21,4 +21,7 @@ jobs:
- name: Test
run: make check
- name: Distcheck
- run: make distcheck
+ run: |
+ # distcheck runs configure again so we need to specify CXX again.
+ export CXX=g++-9
+ make distcheck