Skip to content

Commit 0f019ad

Browse files
authored
Merge pull request #1 from cosock/chore/macos-aarch64
add macos latest runner to test workflow
2 parents 6fcc368 + 5422077 commit 0f019ad

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,12 @@ on:
44

55
jobs:
66
test:
7-
runs-on: ubuntu-latest
7+
strategy:
8+
matrix:
9+
os:
10+
- ubuntu-latest
11+
- macos-latest
12+
runs-on: ${{ matrix.os }}
813
steps:
914
- uses: actions/checkout@v4
1015
- name: build
@@ -27,9 +32,7 @@ jobs:
2732
-nodes \
2833
-out cert.pem \
2934
-keyout key.pem \
30-
-subj "/C=US/ST=MN/L=Minneapolis/O=cosock/CN=cosock/" \
31-
&& sudo cp cert.pem /usr/local/share/ca-certificates \
32-
&& sudo update-ca-certificates
35+
-subj "/C=US/ST=MN/L=Minneapolis/O=cosock/CN=cosock/"
3336
- name: run-with-tls
3437
run: |
3538
./target/debug/cosock-test-server 8443 . &

dist-workspace.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ci = "github"
1010
# The installers to generate for each app
1111
installers = ["shell"]
1212
# Target platforms to build apps for (Rust target-triple syntax)
13-
targets = ["x86_64-unknown-linux-gnu"]
13+
targets = [ "x86_64-unknown-linux-gnu", "aarch64-apple-darwin" ]
1414
# Path that installers should place binaries in
1515
install-path = "CARGO_HOME"
1616
# Whether to install an updater program

0 commit comments

Comments
 (0)