-
Notifications
You must be signed in to change notification settings - Fork 57
Graphviz #644
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
james-d-mitchell
wants to merge
2
commits into
digraphs:main
Choose a base branch
from
james-d-mitchell:graphviz
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Graphviz #644
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This file can be removed, presumably it's just a vestige? |
This file contains hidden or 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,133 @@ | ||
name: "GAP" | ||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
- stable-*.* | ||
schedule: | ||
# Every day at 3:30 AM UTC | ||
- cron: '30 3 * * *' | ||
|
||
env: | ||
DIGRAPHS_LIB: digraphs-lib-0.6 | ||
|
||
jobs: | ||
test-unix: | ||
name: "${{ matrix.os }}${{ matrix.ABI }} / GAP ${{ matrix.gap-branch }}" | ||
runs-on: "${{ matrix.os }}-latest" | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: | ||
- ubuntu | ||
gap-branch: | ||
- master | ||
- stable-4.11 | ||
- stable-4.12 | ||
- stable-4.13 | ||
ABI: [''] | ||
pkgs-to-clone: | ||
- NautyTracesInterface | ||
|
||
include: | ||
- gap-branch: master | ||
os: macos | ||
pkgs-to-clone: "NautyTracesInterface" | ||
- gap-branch: master | ||
os: ubuntu | ||
ABI: 32 | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: "Install dependencies" | ||
if: ${{ runner.os == 'macOS' }} | ||
run: brew install automake | ||
- name: "Install GAP and clone/compile necessary packages" | ||
uses: gap-actions/setup-gap@v2 | ||
with: | ||
GAP_PKGS_TO_CLONE: "${{ matrix.pkgs-to-clone }} digraphs/graphviz" | ||
GAP_PKGS_TO_BUILD: "io orb profiling grape NautyTracesInterface datastructures" | ||
GAPBRANCH: ${{ matrix.gap-branch }} | ||
ABI: ${{ matrix.ABI }} | ||
- name: "Build Digraphs" | ||
uses: gap-actions/build-pkg@v1 | ||
with: | ||
ABI: ${{ matrix.ABI }} | ||
- name: "Install digraphs-lib" | ||
run: | | ||
curl --retry 5 -L -O "https://digraphs.github.io/Digraphs/${{ env.DIGRAPHS_LIB }}.tar.gz" | ||
tar xf "${{ env.DIGRAPHS_LIB }}.tar.gz" | ||
- name: "Run DigraphsTestInstall" | ||
uses: gap-actions/run-pkg-tests@v2 | ||
with: | ||
GAP_TESTFILE: "tst/github_actions/install.g" | ||
- name: "Run DigraphsTestStandard" | ||
uses: gap-actions/run-pkg-tests@v2 | ||
with: | ||
GAP_TESTFILE: "tst/github_actions/standard.g" | ||
- name: "Run DigraphsTestManualExamples" | ||
uses: gap-actions/run-pkg-tests@v2 | ||
with: | ||
GAP_TESTFILE: "tst/github_actions/examples.g" | ||
- name: "Run DigraphsTestExtreme" | ||
uses: gap-actions/run-pkg-tests@v2 | ||
with: | ||
GAP_TESTFILE: "tst/github_actions/extreme.g" | ||
- uses: gap-actions/process-coverage@v2 | ||
- uses: codecov/codecov-action@v3 | ||
|
||
test-cygwin: | ||
name: "cygwin / GAP master" | ||
runs-on: windows-2019 | ||
env: | ||
CHERE_INVOKING: 1 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: gap-actions/setup-cygwin@v1 | ||
- uses: gap-actions/setup-gap@cygwin-v2 | ||
with: | ||
GAP_PKGS_TO_BUILD: "io orb profiling grape datastructures" | ||
GAP_PKGS_TO_CLONE: "digraphs/graphviz" | ||
- uses: gap-actions/build-pkg@cygwin-v1 | ||
- name: "Install digraphs-lib" | ||
run: | | ||
curl --retry 5 -L -O "https://digraphs.github.io/Digraphs/${{ env.DIGRAPHS_LIB }}.tar.gz" | ||
tar xf "${{ env.DIGRAPHS_LIB }}.tar.gz" | ||
- uses: gap-actions/run-pkg-tests@cygwin-v2 | ||
- uses: gap-actions/process-coverage@cygwin-v2 | ||
- uses: codecov/codecov-action@v3 | ||
|
||
with-external-planarity-bliss: | ||
runs-on: "ubuntu-latest" | ||
env: | ||
GAPBRANCH: "stable-4.12" | ||
ABI: 64 | ||
PKG_CONFIG_PATH: "/home/runner/micromamba/envs/digraphs/lib/pkgconfig:/home/runner/micromamba/envs/digraphs/share/pkgconfig/" | ||
LD_LIBRARY_PATH: "/home/runner/micromamba/envs/digraphs/lib" | ||
CFLAGS: "-I/home/runner/micromamba/envs/digraphs/include" | ||
LDFLAGS: "-L/home/runner/micromamba/envs/digraphs/lib" | ||
defaults: | ||
run: | ||
shell: bash -l {0} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: "Install micromamba environment from environment.yml . . ." | ||
uses: mamba-org/setup-micromamba@v1 | ||
with: | ||
environment-file: environment.yml | ||
cache-environment: true | ||
- name: "Activate \"digraphs\" environment . . ." | ||
run: micromamba activate digraphs | ||
- name: "Install GAP and clone/compile necessary packages" | ||
uses: gap-actions/setup-gap@v2 | ||
with: | ||
GAP_PKGS_TO_BUILD: "io orb profiling grape datastructures" | ||
GAP_PKGS_TO_CLONE: "digraphs/graphviz" | ||
- name: "Build Digraphs" | ||
uses: gap-actions/build-pkg@v1 | ||
with: | ||
CONFIGFLAGS: --with-external-planarity --with-external-bliss | ||
- name: "Run Digraphs package's tst/teststandard.g" | ||
uses: gap-actions/run-pkg-tests@v2 |
This file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file can be removed, presumably it's just a vestige?