Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
jribbink committed Feb 20, 2024
1 parent baeee48 commit ea7b47b
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/build-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ jobs:
- goarch: arm64
goos: windows
steps:
- name: Install dependencies
run: sudo apt-get update && sudo apt-get -y install apt-utils gcc-aarch64-linux-gnu
- uses: actions/checkout@v3
- name: Codebase security check
continue-on-error: true
Expand All @@ -30,12 +28,10 @@ jobs:
- name: Set CC environment variable for cross-compilation
run: |
if [ "${{ matrix.goarch }}" = "arm64" ]; then
echo "CC=/usr/bin/aarch64-linux-gnu-gcc" >> $GITHUB_ENV
echo "CC=aarch64-linux-gnu-gcc" >> $GITHUB_ENV
elif [ "${{ matrix.goarch }}" = "amd64" ]; then
echo "CC=x86_64-linux-gnu-gcc" >> $GITHUB_ENV
fi
which aarch64-linux-gnu-gcc
echo "PATH=/usr/aarch64-linux-gnu/bin:$PATH" >> $GITHUB_ENV
- uses: wangyoucao577/[email protected]
env:
MIXPANEL_PROJECT_TOKEN: ${{ secrets.MIXPANEL_PROJECT_TOKEN }}
Expand All @@ -47,7 +43,9 @@ jobs:
CGO_ENABLED: 1
CGO_FLAGS: "-O2 -D__BLST_PORTABLE__"
with:
pre_command: make generate
pre_command: |
apt-get -y install gcc-aarch64-linux-gnu
make generate
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
Expand Down

0 comments on commit ea7b47b

Please sign in to comment.