From 10d1db9e327f649be2ba6454ecd351735fc14d82 Mon Sep 17 00:00:00 2001 From: oxalica Date: Sun, 3 Jan 2021 22:34:15 +0800 Subject: [PATCH] Tweak CI --- .github/workflows/ci.yaml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 2aa5927dcee..9272c894a63 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -23,12 +23,14 @@ jobs: experimental-features = nix-command flakes nix_path: nixpkgs=channel:nixos-unstable - name: Check flake - # Building checks is too slow. - run: nix flake check -v --show-trace --no-build --no-update-lock-file + run: nix flake check -v --show-trace --no-update-lock-file - check-build-stable: - name: Check build the latest stable Rust - runs-on: ubuntu-latest + check-build: + strategy: + matrix: + os: [ubuntu-latest, macos-latest] + name: Check build latest Rust stable + runs-on: ${{ matrix.os }} steps: - name: Checkout uses: actions/checkout@v2