-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (39 loc) · 1.16 KB
/
push.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
on:
- push
jobs:
build-and-test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, ubuntu-22.04]
racket-variant: ['BC', 'CS']
racket-version: ['8.6', '8.8', '8.14']
name: Test on Racket ${{ matrix.racket-variant }} ${{ matrix.racket-version }} on ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@main
- name: Install nasm
run: sudo apt-get install nasm
- name: Install Racket
uses: Bogdanp/[email protected]
with:
architecture: 'x64'
distribution: 'full'
variant: ${{ matrix.racket-variant }}
version: ${{ matrix.racket-version }}
- name: Version info
run: |
nasm --version
gcc --version
- name: Install assignments package
run: |
raco pkg install --auto ../assignments/
- name: Archive knock-plus
uses: actions/upload-pages-artifact@v3
with:
name: knock-plus
path: knock-plus
- name: Run tests
run: |
raco test knock-plus/test/interp.rkt # all should pass
raco test knock-plus/test/compile.rkt 2>&1 | grep 'failures' # should not pass