Overlap iterator #4
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Compiler warnings | |
| on: [pull_request, workflow_dispatch] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| tests: | |
| name: ${{ matrix.compiler }} | |
| timeout-minutes: 60 | |
| runs-on: ubuntu-latest | |
| env: | |
| CXX: ccache ${{ matrix.compiler }} | |
| CXXFLAGS: -fdiagnostics-color -O0 -g -Werror | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| compiler: [clang++, g++] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup ccache . . . | |
| uses: Chocobo1/setup-ccache-action@v1 | |
| with: | |
| update_packager_index: false | |
| install_ccache: true | |
| - name: Compiler information . . . | |
| run: $CXX --version | |
| - name: Configure . . . | |
| run: | | |
| mkdir -p m4 | |
| ./autogen.sh | |
| ./configure CXX="$CXX" CXXFLAGS="$CXXFLAGS" --enable-compile-warnings | |
| - name: Build libsemigroups . . . | |
| run: make -j4 | |
| - name: Build test_all . . . | |
| run: make test_all -j4 |