Update version numbers etc for v5.3.1 #108
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: "Configuration options" | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: | |
- "main" | |
- "stable-*.*" | |
jobs: | |
enable-debug: | |
runs-on: "ubuntu-latest" | |
env: | |
GAPBRANCH: "stable-4.12" | |
ABI: 64 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: "Setup ccache" | |
uses: Chocobo1/setup-ccache-action@v1 | |
with: | |
update_packager_index: false | |
override_cache_key: ${{ runner.os }}-$GAPBRANCH-$ABI-${{ github.ref }} | |
override_cache_key_fallback: ${{ runner.os }}-$GAPBRANCH-$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" | |
- name: "Build Semigroups" | |
uses: gap-actions/build-pkg@v1 | |
with: | |
CONFIGFLAGS: --disable-hpcombi --enable-debug | |
- name: "Run Semigroups package's tst/teststandard.g" | |
uses: gap-actions/run-pkg-tests@v2 | |
with-external-libsemigroups: | |
runs-on: "ubuntu-latest" | |
env: | |
GAPBRANCH: "stable-4.12" | |
ABI: 64 | |
PKG_CONFIG_PATH: "/home/runner/micromamba/envs/libsemigroups/lib/pkgconfig:/home/runner/micromamba/envs/libsemigroups/share/pkgconfig/" | |
LD_LIBRARY_PATH: "/home/runner/micromamba/envs/libsemigroups/lib" | |
DO_NOT_DOWNLOAD_LIBSEMIGROUPS: 1 # prevents prerequisites.sh | |
defaults: | |
run: | |
shell: bash -l {0} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: "Install conda environment from environment.yml . . ." | |
uses: mamba-org/setup-micromamba@v1 | |
with: | |
environment-file: environment.yml | |
cache-environment: true | |
- name: "Activate \"libsemigroups\" environment . . ." | |
run: micromamba activate libsemigroups | |
- name: "Setup ccache" | |
uses: Chocobo1/setup-ccache-action@v1 | |
with: | |
update_packager_index: false | |
override_cache_key: ${{ runner.os }}-$GAPBRANCH-$ABI-${{ github.ref }} | |
override_cache_key_fallback: ${{ runner.os }}-$GAPBRANCH-$ABI | |
- run: mkdir libsemigroups | |
- 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" | |
- name: "Build Semigroups" | |
uses: gap-actions/build-pkg@v1 | |
with: # we use --with-external-fmt since this is available from conda | |
CONFIGFLAGS: --disable-hpcombi --with-external-libsemigroups --enable-fmt --with-external-fmt | |
- name: "Run Semigroups package's tst/teststandard.g" | |
uses: gap-actions/run-pkg-tests@v2 |