-
Notifications
You must be signed in to change notification settings - Fork 2
39 lines (39 loc) · 1.22 KB
/
ci.yml
File metadata and controls
39 lines (39 loc) · 1.22 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
on: [push, pull_request]
name: CI
env:
RKT_PKG: libgit2
jobs:
build:
name: "Build on '${{ matrix.os }} with Racket '${{ matrix.racket-version }}'"
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
experimental: [ false ]
os:
- ubuntu-20.04 # glibc 2.31
- macos-11 # oldest available on GitHub Actions
- windows-2019 # likewise
racket-version:
# needs https://github.com/racket/racket/commit/4f43400 (8.4)
- "stable"
- "8.4"
include:
- os: ubuntu-20.04
experimental: true
racket-version: "current"
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Racket
uses: Bogdanp/setup-racket@v1.10
with:
version: ${{ matrix.racket-version }}
architecture: "x64"
distribution: "full"
- name: Install Package and its Dependencies
run: raco pkg install --auto --batch ${{ env.RKT_PKG }}/
- name: Run Tests
run: raco test -x -p ${{ env.RKT_PKG }}
- name: Check Package Dependencies
run: raco setup --check-pkg-deps --pkgs ${{ env.RKT_PKG }}