From 7fac1a6a5bfffe94dd4bea16f35fea55d4470a2a Mon Sep 17 00:00:00 2001 From: olexiyb Date: Thu, 13 Jun 2024 18:08:49 +0300 Subject: [PATCH] added build on multiple platforms: ubuntu, windows and macos --- .github/workflows/rust.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 4957add..69bdada 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -11,12 +11,17 @@ env: jobs: build: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, windows-latest, macos-latest] - runs-on: ubuntu-latest + env: + CARGO_TERM_COLOR: always steps: - uses: actions/checkout@v4 - name: Build run: cargo build --verbose - name: Run tests - run: cargo test --verbose + run: cargo test --verbose \ No newline at end of file