Skip to content

Commit

Permalink
add macos binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
Zaariel91 committed Aug 19, 2024
1 parent 0720239 commit 1bd279c
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,20 @@ jobs:
- name: Rename binaries
run: |
echo "Renaming binaries to include architecture"
if [ matrix.os == 'ubuntu-22.04' ]; then
mv /tmp/stone-prover/build/bazelbin/src/starkware/main/cpu/cpu_air_prover ./cpu_air_prover-linux-${TARGET_ARCH}
mv /tmp/stone-prover/build/bazelbin/src/starkware/main/cpu/cpu_air_verifier ./cpu_air_verifier-linux-${TARGET_ARCH}
if [ matrix.os == 'ubuntu-22.04' ]; then
mv /tmp/stone-prover/stone-prover.deb /tmp/stone-prover/stone-prover-linux-${TARGET_ARCH}.deb
else
mv /tmp/stone-prover/build/bazelbin/src/starkware/main/cpu/cpu_air_prover ./cpu_air_prover-macos-${TARGET_ARCH}
mv /tmp/stone-prover/build/bazelbin/src/starkware/main/cpu/cpu_air_verifier ./cpu_air_verifier-macos-${TARGET_ARCH}
fi
- name: Verify file existence#2
run: |
ls -la ./
ls -la /tmp/stone-prover/
- name: Upload files to a GitHub release
uses: softprops/action-gh-release@v2
with:
Expand Down

0 comments on commit 1bd279c

Please sign in to comment.