Skip to content
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

Merged
merged 16 commits into from
Apr 19, 2024

Conversation

sidepelican
Copy link
Collaborator

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.

@sidepelican
Copy link
Collaborator Author

- name: Build
run: swift build
- name: Test
run: swift test -c release
Copy link
Collaborator Author

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.

.github/workflows/release.yml Show resolved Hide resolved
@@ -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
Copy link
Collaborator Author

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.

Copy link
Collaborator

@fummicc1 fummicc1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

.github/workflows/release.yml Outdated Show resolved Hide resolved
.github/workflows/release.yml Show resolved Hide resolved
Co-authored-by: Fumiya Tanaka <fumiya989@gmail.com>
@sidepelican sidepelican merged commit 6796bcb into uber:master Apr 19, 2024
3 checks passed
@sidepelican sidepelican deleted the artifactbundle branch April 19, 2024 07:29
@ikesyo
Copy link
Contributor

ikesyo commented May 9, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants