From d3f80083bfad1278f58814d1f3fe79aab755c8eb Mon Sep 17 00:00:00 2001 From: Daniel Alley Date: Mon, 25 Dec 2023 14:37:13 -0500 Subject: [PATCH] Add MacOS to CI --- .github/workflows/ci.yml | 6 +++++- tests/compat.rs | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9b8023c3..8bf1f272 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,7 +54,6 @@ jobs: test-feature-matrix: name: Test Suite (feature-matrix) - runs-on: ubuntu-latest strategy: matrix: rust: @@ -63,6 +62,11 @@ jobs: flags: - "--all-features" - "--no-default-features" + os: + - "ubuntu-latest" + - "macos-latest" + # - "windows-latest" TODO + runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v3 - uses: dtolnay/rust-toolchain@master diff --git a/tests/compat.rs b/tests/compat.rs index 5ac294ab..fdb6b17c 100644 --- a/tests/compat.rs +++ b/tests/compat.rs @@ -8,6 +8,7 @@ mod common; use signature; +#[cfg(target_os = "linux")] mod pgp { use super::*; use signature::pgp::{Signer, Verifier};