Skip to content

Commit

Permalink
Remove job from main CI build matrix if ccache is not working.
Browse files Browse the repository at this point in the history
Sidestep ccache and use full compilation in weekly CI build.
  • Loading branch information
lballabio committed Jan 26, 2024
1 parent b15c427 commit 73d76d2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 32 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/linux-full-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
tag: hirsute
cc: gcc
cxx: g++
- name: "gcc 11.x (Boost 1.82)"
- name: "gcc 11.4 (Boost 1.82)"
shortname: gcc11
tag: jammy
cc: gcc
Expand Down Expand Up @@ -196,21 +196,13 @@ jobs:
container: ghcr.io/lballabio/quantlib-devenv:${{ matrix.tag }}
steps:
- uses: actions/checkout@v3
- name: Cache
uses: hendrikmuhs/ccache-action@v1.2
with:
key: linux-ci-build-${{ matrix.shortname }}-${{ github.ref }}
restore-keys: |
linux-ci-build-${{ matrix.shortname }}-${{ github.ref }}
linux-ci-build-${{ matrix.shortname }}-refs/heads/master
linux-ci-build-${{ matrix.shortname }}-
- name: Compiler version
run: |
${{ matrix.cc }} --version
- name: Build
run: |
./autogen.sh
./configure --disable-static ${{ matrix.configureflags }} CC="ccache ${{ matrix.cc }}" CXX="ccache ${{ matrix.cxx }}" CXXFLAGS="-O2 -g0 -Wall -Wno-unknown-pragmas -Werror ${{ matrix.cxxflags }}"
./configure --disable-static ${{ matrix.configureflags }} CC="${{ matrix.cc }}" CXX="${{ matrix.cxx }}" CXXFLAGS="-O2 -g0 -Wall -Wno-unknown-pragmas -Werror ${{ matrix.cxxflags }}"
make -j 4
- name: Run tests
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linux-nondefault.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
tag: hirsute
cc: gcc
cxx: g++
- name: "gcc 11.x (Boost 1.82)"
- name: "gcc 11.4 (Boost 1.82)"
shortname: gcc11
tag: jammy
cc: gcc
Expand Down
22 changes: 1 addition & 21 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,6 @@ jobs:
fail-fast: false
matrix:
include:
- name: "gcc 5.4 (Boost 1.66)"
shortname: gcc5
tag: xenial
cc: gcc
cxx: g++
- name: "gcc 6.3 (Boost 1.66)"
shortname: gcc6
tag: zesty
cc: gcc
cxx: g++
- name: "gcc 7.4 (Boost 1.72)"
shortname: gcc7
tag: bionic
cc: gcc
cxx: g++
- name: "gcc 8.3 (Boost 1.72)"
shortname: gcc8
tag: cosmic
Expand All @@ -37,7 +22,7 @@ jobs:
tag: hirsute
cc: gcc
cxx: g++
- name: "gcc 11.x (Boost 1.82)"
- name: "gcc 11.4 (Boost 1.82)"
shortname: gcc11
tag: jammy
cc: gcc
Expand All @@ -54,11 +39,6 @@ jobs:
cc: gcc
cxx: g++
tests: true
- name: "Clang 6 (Boost 1.72)"
shortname: clang6
tag: bionic
cc: clang
cxx: clang++
- name: "Clang 7 (Boost 1.72)"
shortname: clang7
tag: cosmic
Expand Down

0 comments on commit 73d76d2

Please sign in to comment.