Skip to content

Commit

Permalink
Add macos and windows runners to CI
Browse files Browse the repository at this point in the history
Add macos and windows runners to CI so that we can make sure that as
changes are introduced that we continue to be able to build for unix
based platforms, macos, and windows.

This relates to issue #218.

Signed-off-by: Ali Caglayan <alizter@gmail.com>

<!-- ps-id: 807cf6ba-18b3-4531-8f95-a62740a3ae96 -->
  • Loading branch information
Alizter authored and drewdeponte committed Nov 4, 2023
1 parent ec71fc2 commit 043a220
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,20 @@ name: Test

jobs:
test:
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
name: Test
env:
PROJECT_NAME_UNDERSCORE: git_ps_ci_github_actions_workflow
CARGO_INCREMENTAL: 0
# RUSTFLAGS: -Zprofile -Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests -Cpanic=abort
# RUSTDOCFLAGS: -Cpanic=abort
runs-on: ubuntu-latest
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
Expand All @@ -35,9 +42,6 @@ jobs:
~/.cargo/registry/cache
target
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('Cargo.lock') }}
- name: Install GPGME
run: |
sudo apt-get install -y libgpgme-dev
- name: Run Tests
run: |
cargo test

0 comments on commit 043a220

Please sign in to comment.