From e7d580dce474b88b6234bffefa7189793f4fcf44 Mon Sep 17 00:00:00 2001 From: Petr Sabanov Date: Sat, 5 Oct 2024 21:20:29 +0300 Subject: [PATCH] Added CI configuration to GitHub workflows --- .github/workflows/ci.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..a819607 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,27 @@ +name: CI + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + workflow_dispatch: + +env: + CARGO_TERM_COLOR: always + +jobs: + test: + runs-on: ${{ matrix.os }} + + strategy: + matrix: + os: [ ubuntu-latest, macos-latest, windows-latest ] + + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Build + run: cargo build --verbose + - name: Test + run: cargo test --verbose \ No newline at end of file