From d5b0f67de5f594df3f9f85f34a20ee2f92496372 Mon Sep 17 00:00:00 2001 From: philippeitis <33013301+philippeitis@users.noreply.github.com> Date: Sun, 22 Nov 2020 20:52:52 -0800 Subject: [PATCH 1/2] Test on all operating systems. It might be a good idea to test on all operating systems, since they have differences in memory management and file operations which might cause bugs. --- .github/workflows/build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0303f540..06537f85 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,7 +29,10 @@ jobs: test: name: Test Suite - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [macos-latest, ubuntu-latest, windows-latest] steps: - name: Checkout sources uses: actions/checkout@v2 From 2b0d67e31de5e42961fad2ef8d83e9e963ddd5d7 Mon Sep 17 00:00:00 2001 From: philippeitis <33013301+philippeitis@users.noreply.github.com> Date: Sun, 22 Nov 2020 21:13:17 -0800 Subject: [PATCH 2/2] Fix Miri test --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 06537f85..c9bc87b5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -127,7 +127,7 @@ jobs: uses: actions/checkout@v2 - name: Get latest toolchain version with miri - run: echo "::set-env name=TOOLCHAIN::$(curl -s https://rust-lang.github.io/rustup-components-history/x86_64-unknown-linux-gnu/miri)" + run: echo "TOOLCHAIN=$(curl -s https://rust-lang.github.io/rustup-components-history/x86_64-unknown-linux-gnu/miri)" >> $GITHUB_ENV - name: Install latest nightly toolchain with miri uses: actions-rs/toolchain@v1