From b090736bbcfc1cc461c2f4e4c86236ab608f0fca Mon Sep 17 00:00:00 2001 From: Igor Katson Date: Thu, 8 Aug 2024 09:03:37 +0100 Subject: [PATCH] Fixing macos CI build --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 157624a..e6f3d6e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -69,9 +69,9 @@ jobs: - name: Build release OSX universal binary run: rustup target install aarch64-apple-darwin && - cargo build --profile release-github && + cargo build --profile release-github --target x86_64-apple-darwin && cargo build --profile release-github --target aarch64-apple-darwin && - lipo ./target/release-github/rqbit ./target/aarch64-apple-darwin/release-github/rqbit -create -output ./target/artifacts/rqbit-osx-universal + lipo ./target/x86_64-apple-darwin/release-github/rqbit ./target/aarch64-apple-darwin/release-github/rqbit -create -output ./target/artifacts/rqbit-osx-universal - uses: softprops/action-gh-release@v1 with: generate_release_notes: true