Skip to content

Commit

Permalink
Switch CI to use GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin committed Apr 5, 2021
1 parent f5a46a9 commit f8d75aa
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 33 deletions.
48 changes: 48 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: CI

# Trigger the workflow on push or pull request
on:
- push
- pull_request

jobs:
# The CI test job
test:
name: ${{ matrix.gap-branch }}
runs-on: ubuntu-latest
# Don't run this twice on PRs for branches pushed to the same repository
if: ${{ !(github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository) }}
strategy:
fail-fast: false
matrix:
gap-branch:
- master
- stable-4.11
- stable-4.10
- stable-4.9

steps:
- uses: actions/checkout@v2
- uses: gap-actions/setup-gap-for-packages@v1
with:
GAPBRANCH: ${{ matrix.gap-branch }}
- uses: gap-actions/run-test-for-packages@v1

# The documentation job
manual:
name: Build manuals
runs-on: ubuntu-latest
# Don't run this twice on PRs for branches pushed to the same repository
if: ${{ !(github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository) }}

steps:
- uses: actions/checkout@v2
- uses: gap-actions/setup-gap-for-packages@v1
- uses: gap-actions/compile-documentation-for-packages@v1
with:
use-latex: 'true'
- name: 'Upload documentation'
uses: actions/upload-artifact@v2
with:
name: manual
path: ./doc/manual.pdf
2 changes: 1 addition & 1 deletion .release
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
# This file is executed by the `release` script from
# https://github.com/gap-system/ReleaseTools
rm -rf .travis.yml .codecov.yml
rm -rf .codecov.yml
32 changes: 0 additions & 32 deletions .travis.yml

This file was deleted.

0 comments on commit f8d75aa

Please sign in to comment.