-
Notifications
You must be signed in to change notification settings - Fork 2
33 lines (29 loc) · 957 Bytes
/
rainix.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Rainix CI
on: [push]
jobs:
standard-tests:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
task: [rainix-rs-test, rainix-rs-artifacts]
include:
# We don't need to do rust static analysis on multiple platforms
- os: ubuntu-latest
task: rainix-rs-static
fail-fast: false
runs-on: ${{ matrix.os }}
env:
TEST_POLYGON_RPC: ${{ secrets.CI_DEPLOY_POLYGON_RPC_URL }}
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v4
- uses: DeterminateSystems/magic-nix-cache-action@v2
- run: nix develop -c rainix-rs-prelude
- name: Run ${{ matrix.task }}
run: nix develop -c ${{ matrix.task }}
- name: Build for wasm target
run: nix develop -c cargo build --target wasm32-unknown-unknown