Skip to content

Commit 4570735

Browse files
committed
Redo, using web server as template
1 parent bcc30ce commit 4570735

File tree

1 file changed

+11
-16
lines changed

1 file changed

+11
-16
lines changed

.github/workflows/tests.yaml

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,21 @@ on: [push]
33

44
jobs:
55
build:
6-
name: Rackunit tests
6+
name: "Build on Racket '${{ matrix.racket-version }}' (${{ matrix.racket-variant }})"
77
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
racket-version: ["8.0", "8.1", "current"]
11+
racket-variant: ["BC", "CS"]
812
steps:
913
- name: "Install MPFR"
1014
run: sudo apt-get install -y libmpfr6 libmpfr-dev
1115
- uses: Bogdanp/[email protected]
1216
with:
1317
architecture: x64
14-
distribution: minimal
15-
variant: 'CS'
16-
version: current
17-
sudo: never
18-
dest: '"${HOME}/racketdist"'
19-
local_catalogs: $GITHUB_WORKSPACE
20-
- name: Check Racket version
21-
run: racket -v
22-
- uses: actions/[email protected]
23-
- name: Register local packages
24-
run: |
25-
raco pkg install -i --auto --no-setup --skip-installed math-test math
26-
raco pkg update --auto --no-setup source-syntax math-lib math-doc math math-test
27-
- run: raco setup --check-pkg-deps math
28-
- run: raco test math-test
18+
distribution: full
19+
variant: ${{ matrix.racket-variant }}
20+
version: ${{ matrix.racket-version }}
21+
- run: sudo raco pkg update --name math-lib --link --batch --auto math-lib/
22+
- run: sudo raco pkg install --batch --auto math-test/
23+
- run: raco test --drdr math-test/

0 commit comments

Comments
 (0)