Skip to content

Commit

Permalink
ci: use amd64 builds + jit on windows with the go sandwich
Browse files Browse the repository at this point in the history
  • Loading branch information
arlyon committed Feb 21, 2023
1 parent 24801f4 commit cb462ab
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/turborepo-release-step-3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,13 @@ jobs:
mv go-artifacts/turbo-go-cross-${{ inputs.release_branch }}/turbo_windows_amd64_v1/bin/* cli/dist-windows-amd64
chmod a+x cli/dist-windows-amd64/turbo.exe
chmod a+x cli/dist-windows-amd64/go-turbo.exe
mv go-artifacts/turbo-go-cross-${{ inputs.release_branch }}/turbo_windows_arm64/bin/* cli/dist-windows-arm64
chmod a+x cli/dist-windows-arm64/turbo.exe
chmod a+x cli/dist-windows-arm64/go-turbo.exe
# rust doesn't have a toolchain for arm + windows + gnu, so we just use the exe from the amd64 build
# and rely on windows' arm JITer to do the work for us. this is because the go exe cannot be build w/ msvc
mv go-artifacts/turbo-go-cross-${{ inputs.release_branch }}/turbo_windows_amd64/bin/* cli/dist-windows-arm64
chmod a+x cli/dist-windows-amd64/turbo.exe
chmod a+x cli/dist-windows-amd64/go-turbo.exe
mv go-artifacts/turbo-go-darwin-${{ inputs.release_branch }}/turbo_darwin_amd64_v1/bin/* cli/dist-darwin-amd64
chmod a+x cli/dist-darwin-amd64/turbo
chmod a+x cli/dist-darwin-amd64/go-turbo
Expand Down
1 change: 0 additions & 1 deletion cli/cross-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ builds:
targets:
- linux_arm64
- linux_amd64
- windows_arm64
- windows_amd64
overrides:
- goos: linux
Expand Down

0 comments on commit cb462ab

Please sign in to comment.