Skip to content

Merge pull request #88 from PIVX-Labs/switch_to_atomic #304

Merge pull request #88 from PIVX-Labs/switch_to_atomic

Merge pull request #88 from PIVX-Labs/switch_to_atomic #304

Workflow file for this run

name: Rust
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo npm i -g -y wasm-pack
rustup toolchain install nightly-2024-09-05-x86_64-unknown-linux-gnu
rustup component add rust-src --toolchain nightly-2024-09-05-x86_64-unknown-linux-gnu
- name: Build
run: make pack
- name: Run tests
run: cargo test --verbose
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: npm_packages
path: |
js/*.tgz
pkg/*.tgz
pkg_multicore/*.tgz