-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
99c8976
commit 3e506f6
Showing
4 changed files
with
80 additions
and
24 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
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@v2 | ||
- name: "Install dependencies (macOS only!)" | ||
if: ${{ runner.os == 'macOS' }} | ||
run: brew install automake | ||
# 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" | ||
|