From 677620b4e4e860fc088f1c4249bdbe9d107109bc Mon Sep 17 00:00:00 2001 From: Soham Zemse <22412996+zemse@users.noreply.github.com> Date: Mon, 18 Dec 2023 19:07:42 +0530 Subject: [PATCH] Add workflow --- .github/workflows/rust.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/rust.yml diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml new file mode 100644 index 0000000..e559bf0 --- /dev/null +++ b/.github/workflows/rust.yml @@ -0,0 +1,30 @@ +name: Rust + +on: + push: + branches: ["dev"] + pull_request: + branches: ["dev"] + +# env: +# CARGO_TERM_COLOR: always + +jobs: + nowasm-build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: nowasm-build + run: cargo build --verbose + wasm-build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: wasm-build + run: ./wasm_build.sh + fmt: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: fmt + run: cargo fmt