From 5043b107e96e232dc645e5acdf5cf295ab7bcd36 Mon Sep 17 00:00:00 2001 From: kmanc Date: Wed, 17 Aug 2022 17:17:50 -0400 Subject: [PATCH] Workflow test branch (#53) * Create rust.yml * Update rust.yml --- .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..9612a4a --- /dev/null +++ b/.github/workflows/rust.yml @@ -0,0 +1,30 @@ +name: Rust Test + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + workflow_dispatch: + +env: + CARGO_TERM_COLOR: always + +jobs: + build-lin: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Build + run: cargo build --verbose + + build-win: + + runs-on: windows-latest + + steps: + - uses: actions/checkout@v3 + - name: Build + run: cargo build --verbose