Skip to content

Commit

Permalink
Add self-test
Browse files Browse the repository at this point in the history
  • Loading branch information
shirok committed Jun 26, 2024
1 parent 58dcc0d commit 405b6cc
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/self-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Run setup-gauche action

on: [ push ]


# We don't use cross-matrix for platform and gauche-version, for
# we want to test specifically setup-gauche _without_ parameters
# and _with_ parameters.

jobs:
test-setup-latest:
strategy:
matrix:
platform: [ubuntu-latest, macos-12]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v3
- uses: shirok/setup-gauche@main
- name: Run gosh
run: gosh -V

test-setup-snapshot:
strategy:
matrix:
platform: [ubuntu-latest, macos-12]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v3
- uses: shirok/setup-gauche@main
with:
gauche-version: 'snapshot'
test-gauche: true
configure-options: '--with-slib=/opt'
- name: Run gosh
run: gosh -V

test-setup-binary:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: shirok/setup-gauche@main
with:
prebuilt-binary: true
- name: Run gosh
run: gosh -V

0 comments on commit 405b6cc

Please sign in to comment.