Skip to content

Release candidate v5.4.0 #24

Release candidate v5.4.0

Release candidate v5.4.0 #24

Workflow file for this run

name: "Extended tests"
on:
workflow_dispatch:
pull_request:
paths:
- ".VERSION"
jobs:
test:
name: "${{ matrix.gap-branch }} / ${{ matrix.os }} / ${{ matrix.ABI }}-bit"
runs-on: "${{ matrix.os }}-latest"
strategy:
fail-fast: false
matrix:
os:
- ubuntu
gap-branch:
- master
ABI:
- 64
- 32
include:
# macOS job
- gap-branch: master
# to ensure datastructures>= v0.2.6
pkgs-to-clone: "datastructures"
os: macos
ABI: 64
steps:
- uses: actions/checkout@v4
- name: "Install dependencies (macOS only!)"
if: ${{ runner.os == 'macOS' }}
run: brew install automake libtool
# Setup ccache, to speed up repeated compilation of the same binaries
# (i.e., GAP and the packages)
- name: "Setup ccache"
if: ${{ runner.os != 'Windows' }}
uses: Chocobo1/setup-ccache-action@v1
with:
update_packager_index: false
override_cache_key: ${{ runner.os }}-${{ matrix.gap-branch }}-${{ matrix.ABI }}-${{ github.ref }}
override_cache_key_fallback: ${{ runner.os }}-${{ matrix.gap-branch }}-${{ matrix.ABI }}
- name: "Install GAP and clone/compile necessary packages"
uses: gap-actions/setup-gap@v2
env:
# We don't understand why this is necessary. Hopefully it can be
# removed in the fullness of time.
LDFLAGS: "-pthread"
with:
# digraphs included here to ensure version >=1.5.0
GAP_PKGS_TO_CLONE: "digraphs/digraphs ${{ matrix.pkgs-to-clone }}"
GAP_PKGS_TO_BUILD: "digraphs io orb datastructures profiling"
GAPBRANCH: ${{ matrix.gap-branch }}
ABI: ${{ matrix.ABI }}
- name: "Build Semigroups"
uses: gap-actions/build-pkg@v1
with:
ABI: ${{ matrix.ABI }}
CONFIGFLAGS: --disable-hpcombi
- name: "Run GAP's tst/teststandard.g"
uses: gap-actions/run-pkg-tests@v2
with:
GAP_TESTFILE: "ci/run-gap-teststandard.g"
- name: "Run GAP's tst/testbugfix.g"
uses: gap-actions/run-pkg-tests@v2
with:
GAP_TESTFILE: "ci/run-gap-testbugfix.g"