diff options
author | Murray Cumming <murrayc@murrayc.com> | 2019-09-28 12:54:23 +0200 |
---|---|---|
committer | Murray Cumming <murrayc@murrayc.com> | 2019-09-28 14:14:14 +0200 |
commit | 781ce35097e67c080cc6c86a13c1bd5f5312574b (patch) | |
tree | d0fd5520574c847a9bbcb9af8569a073e8dcba04 | |
parent | a98df23dca5747ecc44a6347044811808a71ce6f (diff) | |
download | sigc++-781ce35097e67c080cc6c86a13c1bd5f5312574b.tar.gz |
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.
-rw-r--r-- | .github/workflows/autotools-clang-5.yml | 23 | ||||
-rw-r--r-- | .github/workflows/autotools-clang-6.yml | 23 | ||||
-rw-r--r-- | .github/workflows/autotools-clang-7.yml | 23 | ||||
-rw-r--r-- | .github/workflows/autotools-gcc-7.yml | 23 | ||||
-rw-r--r-- | .github/workflows/autotools-gcc-8.yml | 23 | ||||
-rw-r--r-- | .github/workflows/autotools.yml | 19 |
6 files changed, 115 insertions, 19 deletions
diff --git a/.github/workflows/autotools-clang-5.yml b/.github/workflows/autotools-clang-5.yml new file mode 100644 index 0000000..fee2515 --- /dev/null +++ b/.github/workflows/autotools-clang-5.yml @@ -0,0 +1,23 @@ +name: "CI: autotools: clang 5" + +on: [push] + +jobs: + build: + + runs-on: ubuntu-18.04 + + steps: + - uses: actions/checkout@v1 + - name: Build + run: | + sudo apt update + sudo apt install mm-common clang-5.0 + export CXX=clang++-5.0 + ./autogen.sh + ./configure + make + - name: Test + run: make check + - name: Distcheck + run: make distcheck diff --git a/.github/workflows/autotools-clang-6.yml b/.github/workflows/autotools-clang-6.yml new file mode 100644 index 0000000..fc62db4 --- /dev/null +++ b/.github/workflows/autotools-clang-6.yml @@ -0,0 +1,23 @@ +name: "CI: autotools: clang 6" + +on: [push] + +jobs: + build: + + runs-on: ubuntu-18.04 + + steps: + - uses: actions/checkout@v1 + - name: Build + run: | + sudo apt update + sudo apt install mm-common clang-6.0 + export CXX=clang++-6.0 + ./autogen.sh + ./configure + make + - name: Test + run: make check + - name: Distcheck + run: make distcheck diff --git a/.github/workflows/autotools-clang-7.yml b/.github/workflows/autotools-clang-7.yml new file mode 100644 index 0000000..59148fc --- /dev/null +++ b/.github/workflows/autotools-clang-7.yml @@ -0,0 +1,23 @@ +name: "CI: autotools: clang 7" + +on: [push] + +jobs: + build: + + runs-on: ubuntu-18.04 + + steps: + - uses: actions/checkout@v1 + - name: Build + run: | + sudo apt update + sudo apt install mm-common clang-7 + export CXX=clang++-7 + ./autogen.sh + ./configure + make + - name: Test + run: make check + - name: Distcheck + run: make distcheck diff --git a/.github/workflows/autotools-gcc-7.yml b/.github/workflows/autotools-gcc-7.yml new file mode 100644 index 0000000..baf49f8 --- /dev/null +++ b/.github/workflows/autotools-gcc-7.yml @@ -0,0 +1,23 @@ +name: "CI: autotools: gcc 7" + +on: [push] + +jobs: + build: + + runs-on: ubuntu-18.04 + + steps: + - uses: actions/checkout@v1 + - name: Build + run: | + sudo apt update + sudo apt install mm-common g++-7 + export CXX=g++-7 + ./autogen.sh + ./configure + make + - name: Test + run: make check + - name: Distcheck + run: make distcheck diff --git a/.github/workflows/autotools-gcc-8.yml b/.github/workflows/autotools-gcc-8.yml new file mode 100644 index 0000000..e431318 --- /dev/null +++ b/.github/workflows/autotools-gcc-8.yml @@ -0,0 +1,23 @@ +name: "CI: autotools: gcc 8" + +on: [push] + +jobs: + build: + + runs-on: ubuntu-18.04 + + steps: + - uses: actions/checkout@v1 + - name: Build + run: | + sudo apt update + sudo apt install mm-common g++-8 + export CXX=g++-8 + ./autogen.sh + ./configure + make + - name: Test + run: make check + - name: Distcheck + run: make distcheck diff --git a/.github/workflows/autotools.yml b/.github/workflows/autotools.yml deleted file mode 100644 index 22f960f..0000000 --- a/.github/workflows/autotools.yml +++ /dev/null @@ -1,19 +0,0 @@ -name: "CI: autotools" - -on: [push] - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v1 - - name: Build - run: | - sudo apt install mm-common - ./autogen.sh; ./configure; make - - name: Test - run: make check - - name: Distcheck - run: make distcheck |