init #59
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
name: Rainix CI | |
on: [push] | |
jobs: | |
standard-tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
task: [rainix-rs-test, rainix-rs-artifacts, rainix-rs-static] | |
fail-fast: false | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
submodules: recursive | |
- name: Install Nix 1/2 | |
uses: DeterminateSystems/nix-installer-action@v4 | |
- name: Install Nix 2/2 | |
uses: DeterminateSystems/magic-nix-cache-action@v2 | |
- name: Rainix Rust Prelude | |
run: nix develop -c rainix-rs-prelude | |
- name: Run Command ${{ matrix.task }} | |
run: nix develop -c ${{ matrix.task }} | |
- name: Build for wasm target | |
run: nix develop -c cargo build --target wasm32-unknown-unknown |