Skip to content
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

Migrate from Travis to GHA #9

Merged
merged 2 commits into from
Nov 27, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
39 changes: 39 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Build and Test

on: [push, pull_request]

jobs:
build-test:
runs-on: ubuntu-18.04
container: racket/racket-ci:latest

strategy:
fail-fast: false
matrix:
vm: ['regular', 'CS']

steps:
- uses: actions/checkout@master
- uses: Bogdanp/setup-racket@v0.10
with:
architecture: 'x64'
distribution: 'minimal'
variant: ${{ matrix.vm }}
version: 'current'
- name: Install and setup
run: |
raco pkg install --auto compiler-lib
raco pkg install --auto -i --no-setup --skip-installed racket-test
raco setup --pkgs racket-test
raco pkg install --auto -i --no-setup --skip-installed compatibility-test
racket -l- pkg/dirs-catalog --link --check-metadata pkgs-catalog .
echo file://`pwd`/pkgs-catalog/ > catalog-config.txt
raco pkg config catalogs >> catalog-config.txt
raco pkg config --set catalogs `cat catalog-config.txt`
raco pkg update -i --auto --no-setup compatibility-lib/ compatibility-test/
raco setup --pkgs compatibility-lib compatibility-test
- name: Run tests
run: |
raco test -e -l tests/mzlib/test
raco test -e -l tests/racket/package
raco test -e -l tests/racket/package-arrows
35 changes: 0 additions & 35 deletions .travis.yml

This file was deleted.