-
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.
- Loading branch information
Showing
1 changed file
with
61 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,61 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- trunk | ||
pull_request: | ||
workflow_dispatch: | ||
#schedule: | ||
# - cron: '0 8 * * 0' | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
test-install: | ||
name: Install test for Rust ${{matrix.rust}} | ||
runs-on: docker | ||
container: | ||
image: ubuntu:latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
rust: | ||
- nightly | ||
- beta | ||
- stable | ||
- 1.62.0 | ||
- stable 18 months ago | ||
- stable minus 8 releases | ||
- 1.0.0 | ||
timeout-minutes: 45 | ||
steps: | ||
- uses: https://code.forgejo.org/actions/checkout@v4 | ||
|
||
- name: Run test | ||
uses: ./tests/install | ||
with: | ||
toolchain: ${{matrix.rust}} | ||
|
||
test-default: | ||
name: Default test | ||
runs-on: docker | ||
container: | ||
image: ubuntu:latest | ||
steps: | ||
- uses: https://code.forgejo.org/actions/checkout@v4 | ||
|
||
- name: Run test | ||
uses: ./tests/default | ||
|
||
test-override: | ||
name: Override test | ||
runs-on: docker | ||
container: | ||
image: ubuntu:latest | ||
steps: | ||
- uses: https://code.forgejo.org/actions/checkout@v4 | ||
|
||
- name: Run test | ||
uses: ./tests/override |