Skip to content

Commit

Permalink
Just build on target (#312)
Browse files Browse the repository at this point in the history
  • Loading branch information
moraygrieve authored Jul 8, 2024
1 parent caed71b commit 88c545a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/local_run_merge_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,7 @@ jobs:
- name: 'Build required artifacts for running tests'
run: |
cd ${{ github.workspace }}/ten-test
./get_artifacts.sh
ls -l ${{ github.workspace }}/ten-test/artifacts
./get_artifacts.sh
- name: 'Do a persistence reset for nonce and contracts'
run: |
Expand Down
12 changes: 0 additions & 12 deletions get_artifacts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,6 @@ cd $src_path/tools/walletextension/main
echo Building for target platform
go build -o ${script_path}/artifacts/wallet_extension/wallet_extension .

echo Building GOOS=darwin GOARCH=amd64
env GOOS=darwin GOARCH=amd64 go build -o ${script_path}/artifacts/wallet_extension/wallet_extension_macos_amd64 .

echo Building GOOS=darwin GOARCH=arm64
env GOOS=darwin GOARCH=arm64 go build -o ${script_path}/artifacts/wallet_extension/wallet_extension_macos_arm64 .

echo Building GOOS=windows GOARCH=amd64
env GOOS=windows GOARCH=amd64 go build -o ${script_path}/artifacts/wallet_extension/wallet_extension_win_amd64.exe .

echo Building GOOS=linux GOARCH=amd64
env GOOS=linux GOARCH=amd64 go build -o ${script_path}/artifacts/wallet_extension/wallet_extension_linux_amd64

# run the abigen to create the contract ABIs
cd $src_path/contracts
npm install
Expand Down

0 comments on commit 88c545a

Please sign in to comment.