-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build arm64 binaries #6
base: main
Are you sure you want to change the base?
Conversation
Build arm64 binaries
Fix release asset name
- target: x86_64-pc-windows-gnu | ||
os: ubuntu-latest | ||
extension: .exe | ||
- target: x86_64-apple-darwin | ||
# - target: x86_64-apple-darwin | ||
# os: ubuntu-latest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought this os should be macos-latest
though, it seems you've tried both
https://github.com/int128/split-test/actions/runs/8845858159/job/24290599577
uses: actions/create-release@v1 | ||
- uses: actions/checkout@v4 | ||
- run: rustup update stable | ||
- run: rustup default stable |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to the error message
https://github.com/int128/split-test/actions/runs/8845858159/job/24290599577
error[E0463]: can't find crate for `core`
|
= note: the `x86_64-apple-darwin` target may not be installed
= help: consider downloading the target with `rustup target add x86_64-apple-darwin`
perhaps this patch helps?
- run: rustup default stable | |
- run: rustup default stable | |
- run: rustup target add ${{ matrix.target }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@int128 Do you still have interests on this? At least I'd like to fix the CI if it has any trouble
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I forgot everything about this pull request. If needed, feel free to pick my changes.
Hi,
I'd like to run split-test on the self-hosted runners of Linux arm64. This pull request will release both amd64 and arm64 binaries.
In these workflows, some actions are already archived.
actions-rs/*
actions are archived. I replaced them with rustup and cargo.actions/upload-release-asset
action is archived. I replaced it with gh command.Also I could not build a binary for x86_64-apple-darwin due to some errors, so commented it out.
Thanks.