-
Notifications
You must be signed in to change notification settings - Fork 37
60 lines (49 loc) · 1.55 KB
/
macos.yml
File metadata and controls
60 lines (49 loc) · 1.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
name: macOS interop tests
on:
push:
branches: [ 'master', 'main', 'release/**' ]
pull_request:
branches: [ '*' ]
jobs:
macos_test:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Install dependencies
run: |
brew update
brew install make check autoconf automake libtool
- name: Clone and build wolfSSL from nightly-snapshot
run: |
git clone --depth=1 https://github.com/wolfssl/wolfssl --branch nightly-snapshot /tmp/wolfssl
cd /tmp/wolfssl
./autogen.sh
./configure --enable-all --enable-md5
make -j$(sysctl -n hw.ncpu)
sudo make install
- name: Build tests
run: |
PATH="/opt/homebrew/opt/make/libexec/gnubin:$PATH" \
gmake build/test-evloop build/test-wolfssl build/test-ttl-expired unit unit-esp
- name: Run event loop test
run: |
sudo PATH="/opt/homebrew/opt/make/libexec/gnubin:$PATH" ./build/test-evloop
timeout-minutes: 3
- name: Run wolfSSL interop test
run: |
sudo PATH="/opt/homebrew/opt/make/libexec/gnubin:$PATH" ./build/test-wolfssl
timeout-minutes: 3
- name: Run unit tests
run: |
./build/test/unit
timeout-minutes: 2
- name: Run ESP unit tests
run: |
./build/test/unit-esp
timeout-minutes: 2
- name: Run TTL expired test
run: |
./build/test-ttl-expired
timeout-minutes: 1