From 23d29527cde7f389aa2dc17d3e8f01380cfeeccd Mon Sep 17 00:00:00 2001 From: Peter Glotfelty Date: Sun, 16 Feb 2025 15:53:25 -0800 Subject: [PATCH] Create ci.yml --- .github/workflows/ci.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 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 00000000..e218db92 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,29 @@ +name: Rust + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +env: + CARGO_TERM_COLOR: always + +jobs: + build_and_test: + name: strum - latest + runs-on: ubuntu-latest + strategy: + matrix: + toolchain: + - 1.66.1 + - stable + - beta + - nightly + steps: + - uses: actions/checkout@v4 + - run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }} + - name: Build + run: cargo build --verbose + - name: Run tests + run: cargo test --verbose