aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
authorMasaya Tojo <masaya@tojo.tokyo>2024-03-18 01:04:22 +0900
committerMasaya Tojo <masaya@tojo.tokyo>2024-03-18 01:04:22 +0900
commit9f7c2e9bf63cb69a1cb8e00545e198338ca05428 (patch)
tree8b09c743ed144164102da5d5b69c20dd90ad6880 /.github/workflows/ci.yml
parent73ccaa0dc1d343d9a84b4f940479a0e128a8a7b5 (diff)
Execute raco pkg new.
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r--.github/workflows/ci.yml29
1 files changed, 29 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..ffba072
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,29 @@
+on: [push, pull_request]
+name: CI
+jobs:
+ build:
+ name: "Build on Racket '${{ matrix.racket-version }}' (${{ matrix.racket-variant }})"
+ runs-on: ubuntu-latest
+ continue-on-error: ${{ matrix.experimental || false }}
+ strategy:
+ fail-fast: false
+ matrix:
+ racket-version: ["stable", "current"]
+ racket-variant: ["BC", "CS"]
+ include:
+ - racket-version: current
+ experimental: true
+ steps:
+ - uses: actions/checkout@v3.1.0
+ - uses: Bogdanp/setup-racket@v1.9.1
+ with:
+ architecture: x64
+ distribution: full
+ variant: ${{ matrix.racket-variant }}
+ version: ${{ matrix.racket-version }}
+ - name: Installing diary-system and its dependencies
+ run: raco pkg install --no-docs --auto --name diary-system
+ - name: Compiling diary-system and building its docs
+ run: raco setup --check-pkg-deps --unused-pkg-deps diary-system
+ - name: Testing diary-system
+ run: raco test -x -p diary-system