-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add self test, drop external test trigger by push
Triggering external repo's test requires to maintain auth token. We might want to run it occasionally, but it doesn't need to be on every push. So we run test inside repo on push. External repo test can be manually triggered when necessary.
- Loading branch information
Showing
2 changed files
with
43 additions
and
1 deletion.
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
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,42 @@ | ||
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: 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: 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: shirok/setup-gauche@main | ||
with: | ||
prebuilt-binary: true | ||
- name: Run gosh | ||
run: gosh -V |