diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml new file mode 100644 index 0000000..52da56e --- /dev/null +++ b/.github/workflows/CI.yml @@ -0,0 +1,56 @@ +name: CI + +# Trigger the workflow on push or pull request +on: + push: + branches: + - master + pull_request: + +# the `concurrency` settings ensure that not too many CI jobs run in parallel +concurrency: + # group by workflow and ref; the last slightly strange component ensures that for pull + # requests, we limit to 1 concurrent job, but for the master branch we don't + group: ${{ github.workflow }}-${{ github.ref }}-${{ github.ref != 'refs/heads/master' || github.run_number }} + # Cancel intermediate builds, but only if it is a pull request build. + cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} + +jobs: + # The CI test job + test: + name: ${{ matrix.gap-branch }} + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + gap-branch: + - master + - stable-4.12 + + steps: + - uses: actions/checkout@v4 + - uses: gap-actions/setup-gap@v2 + with: + GAPBRANCH: ${{ matrix.gap-branch }} + - uses: gap-actions/build-pkg@v1 + - uses: gap-actions/run-pkg-tests@v2 + - uses: gap-actions/process-coverage@v2 + - uses: codecov/codecov-action@v4 + + # The documentation job + manual: + name: Build manuals + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - uses: gap-actions/setup-gap@v2 + - uses: gap-actions/build-pkg-docs@v1 + with: + use-latex: 'true' + - name: 'Upload documentation' + uses: actions/upload-artifact@v4 + with: + name: manual + path: ./doc/manual.pdf + if-no-files-found: error diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index f30799c..0000000 --- a/.travis.yml +++ /dev/null @@ -1,30 +0,0 @@ -language: c - -addons: - apt_packages: - - libgmp-dev - - libreadline-dev - - zlib1g-dev - -matrix: - include: - - env: GAPBRANCH=master - - env: GAPBRANCH=stable-4.11 - -branches: - except: - - gh-pages - -before_script: - - git clone https://github.com/gap-system/pkg-ci-scripts.git scripts - - scripts/build_gap.sh -script: - - scripts/build_pkg.sh && scripts/run_tests.sh -after_script: - - scripts/gather-coverage.sh - - bash <(curl -s https://codecov.io/bash) - -  -notifications: - slack: lbfm:Ed9IneWr1EgUpjuskzKZELDU  -  diff --git a/PackageInfo.g b/PackageInfo.g index 7d52d46..f6b2978 100644 --- a/PackageInfo.g +++ b/PackageInfo.g @@ -64,7 +64,7 @@ PackageDoc := rec( ), Dependencies := rec( - GAP := ">= 4.11", + GAP := ">= 4.12", NeededOtherPackages := [ ], SuggestedOtherPackages := [ ], ExternalConditions := [ ],