-
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e6c703f
commit 9f2bb40
Showing
1 changed file
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
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: ["7.6", "8.5", "stable", "current"] | ||
racket-variant: ["CS"] | ||
exclude: | ||
- racket-version: "7.6" | ||
racket-variant: "CS" | ||
include: | ||
- racket-version: "7.6" | ||
racket-variant: "BC" | ||
- racket-version: "8.5" | ||
racket-variant: "BC" | ||
- racket-version: current | ||
experimental: true | ||
steps: | ||
- uses: actions/checkout@v3.1.0 | ||
- uses: Bogdanp/setup-racket@v1.10 | ||
with: | ||
architecture: x64 | ||
distribution: full | ||
variant: ${{ matrix.racket-variant }} | ||
version: ${{ matrix.racket-version }} | ||
- name: Installing racket-langserver and its dependencies | ||
run: raco pkg install --no-docs --auto --name racket-langserver | ||
- name: Checking the package dependency of racket-langserver | ||
run: raco setup -j 1 --no-docs --check-pkg-deps --unused-pkg-deps --pkgs racket-langserver | ||
- name: Testing racket-langserver | ||
run: xvfb-run -a raco test -j 1 -c racket-langserver/tests |