Skip to content

Commit 21e324f

Browse files
committed
Simplify and improve CI.
1 parent 8379313 commit 21e324f

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/tests.yaml

+7-6
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,17 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- name: "Install MPFR"
10-
run: sudo apt-get install -y libmpfr6 libmpfr-dev
11-
- uses: Bogdanp/setup-racket@v1.11
10+
run: sudo apt-get update && sudo apt-get install -y libmpfr6 libmpfr-dev
11+
- uses: Bogdanp/setup-racket@v1.12
1212
with:
1313
architecture: x64
1414
distribution: full
1515
variant: CS
1616
version: current
17+
sudo: never
18+
dest: '"${HOME}/racket"'
1719
- uses: actions/checkout@master
18-
- run: sudo raco pkg install --scope installation eli-tester
19-
- run: sudo raco pkg update --no-setup --name math-lib --link --batch --auto math-lib/
20-
- run: sudo raco setup math
21-
- run: sudo raco pkg install --link --batch --auto math-test/
20+
- run: raco pkg update --no-setup --name math-lib --link --batch --auto math-lib/
21+
- run: raco pkg install --no-setup --scope installation --link --batch --auto math-test/
22+
- run: raco setup math
2223
- run: raco test --drdr math-test/

0 commit comments

Comments
 (0)