-
Notifications
You must be signed in to change notification settings - Fork 2
58 lines (48 loc) · 1.46 KB
/
push.yml
File metadata and controls
58 lines (48 loc) · 1.46 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
name: Build and Test
on: [push, workflow_dispatch]
jobs:
build-and-test:
strategy:
matrix:
os: [ubuntu-22.04, ubuntu-24.04]
racket-variant: ['CS']
racket-version: ['8.6', '8.10', '8.14', '8.18', 'stable', 'current']
runs-on: ${{ matrix.os }}
name: OS ${{ matrix.os }} / Racket ${{ matrix.racket-version }}
steps:
- name: Checkout
uses: actions/checkout@main
- name: Install Racket
uses: Bogdanp/setup-racket@v1.14
with:
architecture: 'x64'
distribution: 'full'
variant: ${{ matrix.racket-variant }}
version: ${{ matrix.racket-version }}
- name: Install clang
run: |
sudo apt install -y clang libssl-dev
- name: Version info
run: |
clang --version
gcc --version
- name: Cache Racket packages
uses: actions/cache@v4
with:
path: |
~/.racket
~/.cache/racket
~/.local/share/racket
~/Library/Caches/Racket
key: racket-${{ matrix.racket-variant }}-${{ matrix.racket-version }}-${{ matrix.os }}
- name: Install a86 package
run: |
raco pkg install --no-docs ../a86/
- name: Install langs package
run: |
# This *should* use the locally installed a86
raco pkg install --auto 'https://github.com/cmsc430/langs.git?#main'
- name: Run tests
run: |
xvfb-run raco test -p a86
xvfb-run raco test -p langs