We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fcc368 commit d906ffeCopy full SHA for d906ffe
.github/workflows/test.yml
@@ -4,7 +4,12 @@ on:
4
5
jobs:
6
test:
7
- runs-on: ubuntu-latest
+ strategy:
8
+ matrix:
9
+ os:
10
+ - ubuntu-latest
11
+ - macos-latest
12
+ runs-on: ${{ matrix.os }}
13
steps:
14
- uses: actions/checkout@v4
15
- name: build
@@ -17,19 +22,6 @@ jobs:
17
22
sleep 1
18
23
curl http://127.0.0.1:8080/delay/3
19
24
kill $SERVER_PID
20
- - name: install certs
21
- run: |
- openssl req \
- -newkey rsa:2048 \
- -x509 \
25
- -sha256 \
26
- -days 10000 \
27
- -nodes \
28
- -out cert.pem \
29
- -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
33
- name: run-with-tls
34
run: |
35
./target/debug/cosock-test-server 8443 . &
0 commit comments