Skip to content

Commit

Permalink
Revert "Disable arm release build" (#1712)
Browse files Browse the repository at this point in the history
  • Loading branch information
roy-dydx authored Jun 18, 2024
1 parent 24030c1 commit d0347f7
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/protocol-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,15 @@ jobs:
- name: Create Directory
run: mkdir ./build
- name: Build Reproducible Linux Binaries
run: make distclean build-reproducible-linux-amd64
run: make distclean build-reproducible
- name: Rename Binaries
run: |
mv ./build/dydxprotocold:linux-arm64 ./build/dydxprotocold-${{ env.VERSION }}-linux-arm64
mv ./build/dydxprotocold:linux-amd64 ./build/dydxprotocold-${{ env.VERSION }}-linux-amd64
- name: Compress binaries
run: |
tar -cvzf dydxprotocold-${{ env.VERSION }}-linux-arm64.tar.gz \
./build/dydxprotocold-${{ env.VERSION }}-linux-arm64
tar -cvzf dydxprotocold-${{ env.VERSION }}-linux-amd64.tar.gz \
./build/dydxprotocold-${{ env.VERSION }}-linux-amd64
- name: Create Release
Expand All @@ -60,6 +63,15 @@ jobs:
asset_path: protocol/dydxprotocold-${{ env.VERSION }}-linux-amd64.tar.gz
asset_name: dydxprotocold-${{ env.VERSION }}-linux-amd64.tar.gz
asset_content_type: application/gzip
- name: Upload linux-arm64 tar.gz
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ github.token }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: protocol/dydxprotocold-${{ env.VERSION }}-linux-arm64.tar.gz
asset_name: dydxprotocold-${{ env.VERSION }}-linux-arm64.tar.gz
asset_content_type: application/gzip
# TODO(DEC-1743): add build report and binary check sums

v4-proto-py-release:
Expand Down

0 comments on commit d0347f7

Please sign in to comment.