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

Binaries update #8

Merged
merged 39 commits into from
Jun 10, 2024
Merged

Binaries update #8

merged 39 commits into from
Jun 10, 2024

Conversation

georg-getz
Copy link
Member

Made the dylibs exported into release assets. They had to be zipped because of name collision.

The current test yaml was updated so that it runs on macos-13 instead of macos-latest(14 currently) as that version is with aarch64 and our tests fail if we don't do additional Java version specification at start.

Ubuntu aarch64 and i686 dylibs not available as no runners exist and wasmer-vm stops us from cross-compiling.

georg-getz added 30 commits June 2, 2024 19:23
… yaml that requires testing

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>
Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>
Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>
Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>
Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>
Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>
Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>
Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>
Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>
Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>
Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>
Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>
Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>
Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>
Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>
Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>
Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>
Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>
Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>
Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>
Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>
Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>
Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>
Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>
Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>
Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>
Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>
Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>
Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>
Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>
georg-getz and others added 9 commits June 4, 2024 01:39
Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>
Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>
…d wasmer-vm causes crash when trying to cross-compile

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>
Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>
Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>
Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>
Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>
…ed by the test yaml as well

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>
* Adapt dynamic_libs.yaml so that it uploads libs as artifacts.

* Add condition when copying native libs to build dir.
Test download artifacts in release.yaml.

* Test fix pattern.

* Test fix pattern.

* Remove matrix.

* Test remove pattern from artifact download.

* Refactor dynamic_libs.yaml so that it's callable from release.yaml.

* Add needs flag to release.yaml

* Test list structure in native-libs directory.

* Rework dynamic_libs.yaml so that it's reusable.
Adapt release.yaml to use dynamic_libs_reusable.yaml.
Executing release.yaml from a branch uploads the jar with all the possible native libs inside the workflow artifacts.
Executing it from a tag uploads it to the tag's release.

* Test param passs fix.

* test

* test

* Remove github.event from the reusable workflow.

* Use github.ref.type instead of github.ref

* test

* test

* test

* Remove test step from dynamic_libs_reusable.yaml.
Use startsWith expression in release.yaml.

* Add docs.
Change name of JAR.

* Test using randomizes artifacts dir.

* Fix export syntax.

* Add section in README.md for env variable.
Rename GH_ARTIFACTS_DIR to EXT_ARTIFACTS_DIR

* Change 'native-libs' to using env var.

* test

* test

* Push EXT_ARTIFACTS_DIR to gh env.

* Add mkdir.

* Fix mkdir.

* Fix mkdir.

* Fix usage of env var in "with" section of step.

* Test

* Remove comments.

* Remove leftovers.

* fix: use "uname -m" when retrieving os arch in Native.java. Change win32 to windows.

* fix: translate x86_64 to amd64 to keep uniform naming of artifacts.

* Substitute random uuid for mktemp command.

* Test fix env var assign

* Test fix env var assign

* Test remove cache steps.

* Revert cache removal.
@georg-getz georg-getz merged commit db50e67 into dev Jun 10, 2024
7 checks passed
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