-
Notifications
You must be signed in to change notification settings - Fork 6
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
05e9d4a
commit f96d457
Showing
3 changed files
with
228 additions
and
23 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,30 @@ | ||
name: Rainix CI | ||
on: [push] | ||
|
||
jobs: | ||
standard-tests: | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, macos-latest] | ||
task: [ci-rs-test, ci-rs-artifacts] | ||
include: | ||
# Solidity doesn't need to be tested on multiple platforms | ||
- os: ubuntu-latest | ||
task: ci-sol-test | ||
- os: ubuntu-latest | ||
task: ci-sol-static | ||
- os: ubuntu-latest | ||
task: ci-sol-artifacts | ||
# We don't need to do rust static analysis on multiple platforms | ||
- os: ubuntu-latest | ||
task: ci-rs-static | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Install Nix | ||
uses: DeterminateSystems/nix-installer-action@v4 | ||
- uses: DeterminateSystems/magic-nix-cache-action@v2 | ||
|
||
- run: nix run .#ci-prep | ||
- run: nix run github:rainlanguage/rainix#${{ matrix.task }} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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