From 5422077037183fa6060babe7dc5ba0bcd2e319c4 Mon Sep 17 00:00:00 2001 From: Robert Masen Date: Mon, 30 Dec 2024 19:18:08 -0600 Subject: [PATCH] add macos latest runner to test workflow --- .github/workflows/test.yml | 11 +++++++---- dist-workspace.toml | 2 +- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8813abc..cde3549 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,7 +4,12 @@ on: jobs: test: - runs-on: ubuntu-latest + strategy: + matrix: + os: + - ubuntu-latest + - macos-latest + runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 - name: build @@ -27,9 +32,7 @@ jobs: -nodes \ -out cert.pem \ -keyout key.pem \ - -subj "/C=US/ST=MN/L=Minneapolis/O=cosock/CN=cosock/" \ - && sudo cp cert.pem /usr/local/share/ca-certificates \ - && sudo update-ca-certificates + -subj "/C=US/ST=MN/L=Minneapolis/O=cosock/CN=cosock/" - name: run-with-tls run: | ./target/debug/cosock-test-server 8443 . & diff --git a/dist-workspace.toml b/dist-workspace.toml index 6e13b17..eedb4b0 100644 --- a/dist-workspace.toml +++ b/dist-workspace.toml @@ -10,7 +10,7 @@ ci = "github" # The installers to generate for each app installers = ["shell"] # Target platforms to build apps for (Rust target-triple syntax) -targets = ["x86_64-unknown-linux-gnu"] +targets = [ "x86_64-unknown-linux-gnu", "aarch64-apple-darwin" ] # Path that installers should place binaries in install-path = "CARGO_HOME" # Whether to install an updater program