-
Notifications
You must be signed in to change notification settings - Fork 87
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
Add artifactbundle for build tools plugin #256
Conversation
Actions result can be seen here. https://github.com/sidepelican/mockolo/actions/runs/8734333683 |
- name: Build | ||
run: swift build | ||
- name: Test | ||
run: swift test -c release |
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.
swift-syntax builds are too long, so disable release builds.
@@ -65,7 +65,7 @@ echo "OUTPUT FILE = ${OUTFILE}" | |||
cd "$SRCDIR" | |||
rm -rf .build | |||
case $(uname -s) in | |||
Linux*) swift build --static-swift-stdlib -c release --arch arm64 --arch x86_64 |
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.
--arch
option does not work on Linux.
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.
Thank you!
Co-authored-by: Fumiya Tanaka <fumiya989@gmail.com>
Amazing, I can drop https://github.com/ikesyo/mockolo-artifact-bundle now! 👏 |
Issue: #246
Add an artifact bundle to use as a build tools plugin.
This PR includes GitHub Actions to build for each architecture on Linux and macOS, and package them into an artifact bundle. Additionally, it documents the steps to use it as a build tools plugin in the README.md.