Skip to content

Commit 4afc30f

Browse files
Wip: build pipeline
1 parent 91d5269 commit 4afc30f

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,10 @@ jobs:
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

.github/workflows/release.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,14 @@ jobs:
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

0 commit comments

Comments
 (0)