From 25d2d67bce172fe3bec0314cf3051841be9b8b7c Mon Sep 17 00:00:00 2001 From: gwirn <71886945+gwirn@users.noreply.github.com> Date: Tue, 20 Feb 2024 12:25:25 +0100 Subject: [PATCH] Create rust.yml --- .github/workflows/rust.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 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..a04b1a5 --- /dev/null +++ b/.github/workflows/rust.yml @@ -0,0 +1,28 @@ +name: psatm + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +env: + CARGO_TERM_COLOR: always + +jobs: + build: + + runs-on: ${{ matrix.config.os }} + strategy: + matrix: + config: + - os: ubuntu-latest + - os: macos-latest + + steps: + - uses: actions/checkout@v3 + - name: Build + run: cargo build --verbose + - name: output test + shell: bash + run: cd tests; bash test.sh