From 4567e90f0fe25066420d154110205978f3a51f04 Mon Sep 17 00:00:00 2001 From: stertooy <5571903+stertooy@users.noreply.github.com> Date: Mon, 4 May 2026 11:28:24 +0200 Subject: [PATCH 1/2] Modernise CI-advanced --- .github/workflows/CI-advanced.yml | 68 +++++++++++++------------------ 1 file changed, 28 insertions(+), 40 deletions(-) diff --git a/.github/workflows/CI-advanced.yml b/.github/workflows/CI-advanced.yml index e4b76af..5afb13e 100644 --- a/.github/workflows/CI-advanced.yml +++ b/.github/workflows/CI-advanced.yml @@ -19,54 +19,42 @@ concurrency: jobs: # The CI test job test: - name: ${{ matrix.gap-branch }} - runs-on: ubuntu-latest + name: ${{ matrix.gap-version }} + runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: - gap-branch: - - master - - stable-4.15 - - stable-4.14 - - stable-4.13 - - stable-4.12 - - stable-4.11 - - stable-4.10 + os: [ ubuntu-latest, macos-latest, windows-latest ] + gap-version: + - 'devel' + - '4.15' + - '4.14' + - '4.13' + - '4.12' + - '4.11' + include: + - os: ubuntu-latest + gap-version: '4.10' + steps: - uses: actions/checkout@v6 - - uses: gap-actions/setup-gap@v2 + - uses: gap-actions/setup-cygwin@v2 + if: ${{ matrix.os == 'windows-latest' }} + - uses: gap-actions/setup-gap@v3 with: - GAP_PKGS_TO_CLONE: "nq" - GAP_PKGS_TO_BUILD: "io profiling nq" # io & profiling must always be built for coverage tracking - GAPBRANCH: ${{ matrix.gap-branch }} - - name: 'Install additional dependencies' - run: | - sudo apt-get install libmpfr-dev - - uses: gap-actions/build-pkg@v1 - - uses: gap-actions/run-pkg-tests@v3 - - uses: gap-actions/run-pkg-tests@v3 + gap-version: ${{ matrix.gap-version }} + - uses: gap-actions/install-pkg@v1 with: - only-needed: true - - uses: gap-actions/process-coverage@v2 - - uses: codecov/codecov-action@v6 + packages: nq@devel + - uses: gap-actions/build-pkg@v3 with: - token: ${{ secrets.CODECOV_TOKEN }} - - # The documentation job - manual: - name: Build manuals - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v6 - - uses: gap-actions/setup-gap@v2 - - uses: gap-actions/build-pkg-docs@v1 + extra-pkgs: nq + - uses: gap-actions/run-pkg-tests@v4 + - uses: gap-actions/run-pkg-tests@v4 with: - use-latex: 'true' - - name: 'Upload documentation' - uses: actions/upload-artifact@v4 + mode: onlyneeded + - uses: gap-actions/process-coverage@v3 + - uses: codecov/codecov-action@v6 with: - name: manual - path: ./doc/manual.pdf - if-no-files-found: error + token: ${{ secrets.CODECOV_TOKEN }} From 3b6bead7684fc2ebbd8f7a5f6d00815696588683 Mon Sep 17 00:00:00 2001 From: stertooy <5571903+stertooy@users.noreply.github.com> Date: Mon, 4 May 2026 11:48:10 +0200 Subject: [PATCH 2/2] Update CI-advanced.yml --- .github/workflows/CI-advanced.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/CI-advanced.yml b/.github/workflows/CI-advanced.yml index 5afb13e..c657fcc 100644 --- a/.github/workflows/CI-advanced.yml +++ b/.github/workflows/CI-advanced.yml @@ -19,7 +19,7 @@ concurrency: jobs: # The CI test job test: - name: ${{ matrix.gap-version }} + name: ${{ matrix.gap-version }} on ${{ matrix.os }} runs-on: ${{ matrix.os }} strategy: fail-fast: false