-
Notifications
You must be signed in to change notification settings - Fork 8
39 lines (36 loc) · 990 Bytes
/
build.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
name: build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: Build and test
runs-on: ${{ matrix.os }}-latest
env:
CHEZ_SCHEME_VERSION: '10.0.0'
strategy:
matrix:
os: [macos, ubuntu, windows]
steps:
- uses: actions/checkout@v2
- name: Chez cache
id: shen-scheme-chez10-cache
uses: actions/cache@v2
with:
path: _build/chez
key: ${{ matrix.os }}-chez-${{ env.CHEZ_SCHEME_VERSION }}
- name: Install deps (Ubuntu)
run: sudo apt-get install -y uuid-dev
if: runner.os == 'linux'
- name: Build Chez
run: make chez_kernel
- name: Build and test
run: |
echo "Using Chez Scheme version ${{ env.CHEZ_SCHEME_VERSION }}"
make fetch-kernel
make fetch-prebuilt
make precompile-with-prebuilt
make csversion=${{ env.CHEZ_SCHEME_VERSION }}
make test