diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..9795951 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,33 @@ + +name: CI + +on: + push: + pull_request: + workflow_dispatch: + +permissions: + contents: read + +jobs: + test: + name: Test suite + runs-on: + - ubuntu-latest + - windows-latest + timeout-minutes: 2 + steps: + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@nightly + - run: cargo test + + test-release: + name: Test suite + runs-on: + - ubuntu-latest + - windows-latest + timeout-minutes: 2 + steps: + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@nightly + - run: cargo test --release \ No newline at end of file