File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 2222 include :
2323 - os : ubuntu-latest
2424 target : x86_64-unknown-linux-gnu
25+
2526 - os : macOS-latest
26- target : x86_64-apple-darwin
27+ target : aarch64-apple-darwin
28+
2729 runs-on : ${{ matrix.os }}
2830 steps :
2931 - uses : actions/checkout@v4
Original file line number Diff line number Diff line change 5050 if : matrix.platform.os == 'ubuntu-latest'
5151 run : |
5252 sudo apt-get -qq install musl-dev musl-tools pkg-config make
53+
54+ - name : Setup dependencies (macOS)
55+ if : matrix.platform.os == 'macOS-latest'
56+ run : |
57+ brew update
58+ brew install pkg-config make openssl@3
59+ echo "OPENSSL_DIR=$(brew --prefix openssl@3)" >> $GITHUB_ENV
60+ echo "PKG_CONFIG_PATH=$(brew --prefix openssl@3)/lib/pkgconfig" >> $GITHUB_ENV
5361
5462 - name : Build binary
5563 uses : houseabsolute/actions-rust-cross@v0
You can’t perform that action at this time.
0 commit comments