aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorMasaya Tojo <masaya@tojo.tokyo>2024-03-21 01:14:31 +0900
committerMasaya Tojo <masaya@tojo.tokyo>2024-03-21 01:14:31 +0900
commite28ac6224300ae858076965eade658da68f118aa (patch)
treee43bc01ba6b2e2afdfeb136e89c36e4cc2c7d315 /.github/workflows
Initial commit.HEADmain
Diffstat (limited to '.github/workflows')
-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..db3e215
--- /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 get-youtube-rss-url and its dependencies
+ run: raco pkg install --no-docs --auto --name get-youtube-rss-url
+ - name: Compiling get-youtube-rss-url and building its docs
+ run: raco setup --check-pkg-deps --unused-pkg-deps get-youtube-rss-url
+ - name: Testing get-youtube-rss-url
+ run: raco test -x -p get-youtube-rss-url