ci: update micromamba action #1774
Workflow file for this run
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
name: "Standard tests" | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: | |
- "main" | |
- "stable-*.*" | |
schedule: | |
# Every day at 3:15 AM UTC | |
- cron: '15 3 * * *' | |
jobs: | |
test: | |
name: "${{ matrix.gap-branch }} / ${{ matrix.os }} / ${{ matrix.ABI }}-bit" | |
runs-on: "${{ matrix.os }}-latest" | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- ubuntu | |
- macos | |
gap-branch: | |
- master | |
- stable-4.12 | |
ABI: | |
- 64 | |
steps: | |
- uses: actions/checkout@v3 | |
- 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: | |
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 Semigroups package's tst/teststandard.g" | |
uses: gap-actions/run-pkg-tests@v2 | |
- uses: gap-actions/process-coverage@v2 | |
- uses: codecov/codecov-action@v2 | |
- name: "Run GAP's tst/testinstall.g" | |
uses: gap-actions/run-pkg-tests@v2 | |
with: | |
GAP_TESTFILE: "ci/run-gap-testinstall.g" | |
test-cygwin: | |
name: "master / cygwin / 64-bit" | |
runs-on: windows-latest | |
env: | |
CHERE_INVOKING: 1 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: "Setup cygwin" | |
uses: gap-actions/setup-cygwin@v1 | |
- name: "Setup GAP for cygwin" | |
uses: gap-actions/setup-gap@cygwin-v2 | |
with: | |
GAP_PKGS_TO_BUILD: "digraphs io orb datastructures profiling" | |
- name: "Build Semigroups" | |
uses: gap-actions/build-pkg@cygwin-v1 | |
with: | |
CONFIGFLAGS: --disable-fmt # to try and speed up compilation | |
- uses: gap-actions/run-pkg-tests@cygwin-v2 | |
with: | |
GAP_TESTFILE: "tst/teststandard.g" | |
- uses: gap-actions/process-coverage@cygwin-v2 | |
- uses: codecov/codecov-action@v2 |