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

Upgrade builders and build setup #278

Merged
merged 6 commits into from
Dec 15, 2021
Merged

Upgrade builders and build setup #278

merged 6 commits into from
Dec 15, 2021

Conversation

webmaster128
Copy link
Member

No description provided.

Copy link
Member

@ethanfrey ethanfrey left a comment

Choose a reason for hiding this comment

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

Looks good

@@ -57,8 +61,8 @@ release-build-alpine:
cp libwasmvm/target/release/examples/libmuslc.a api/libwasmvm_muslc.a
make update-bindings
# try running go tests using this lib with muslc
docker run --rm -u $(USER_ID):$(USER_GROUP) -v $(shell pwd):/testing -w /testing $(BUILDERS_PREFIX)-alpine go build -tags muslc .
docker run --rm -u $(USER_ID):$(USER_GROUP) -v $(shell pwd):/testing -w /testing $(BUILDERS_PREFIX)-alpine go test -tags muslc ./api ./types
docker run --rm -u $(USER_ID):$(USER_GROUP) -v $(shell pwd):/mnt/testrun -w /mnt/testrun $(ALPINE_TESTER) go build -tags muslc .
Copy link
Member

Choose a reason for hiding this comment

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

What about line 60? Also change variable?

Copy link
Member Author

Choose a reason for hiding this comment

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

No, the idea is to allow using separate builder and tester images here. There is no real point the Rust builder image should include a Go dev environment. I used the different values for Rust build and Go test environment when debugging issues documented in #277.

@webmaster128 webmaster128 merged commit 1277a79 into main Dec 15, 2021
@webmaster128 webmaster128 deleted the upgrade-builders branch December 15, 2021 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants