Skip to content

Conversation

@georg-getz
Copy link

No description provided.

georg-getz and others added 9 commits May 23, 2023 14:03
#1)

* added an ImportObject class that contains static classes representing the different import types

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>

* fix typos

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>
* added command for running the main class

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>

* remove unnecessary comments in tests

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>

---------

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>
* made imported memory be initialized with the exported ones

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>

* removed logs

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>

* added support for apple silicon and made the imported memory be accessible through the exports

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>

* small changes to the makefile

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>

* lfix encapsulation

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>

* uncomment tests

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>

* delete commented lines

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>

* remove big files

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>

---------

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>
* Added support for accessing globals from Java

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>

* optimized imports

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>

---------

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>
* added util for panic

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>

* renamed to test

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>

* added a function to invoke panics from java

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>

---------

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>
* removed bintray mentions and added bonus configuration in the release yaml that requires testing

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>

* changed action provider for prerelease

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>

* removed creating pre-release

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>

* update gradelev

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>

* added echo command for arch

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>

* added line

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>

* fix

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>

* trying

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>

* added missing line

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>

* switched sopaces for tabs

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>

* small changes

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>

* typo

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>

* added a separate file for the mac release

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>

* 2nd try with arch

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>

* distribution

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>

* added additional file for building the dylibs

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>

* nerf eddition level

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>

* another nerf

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>

* aded file for dylib generation

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>

* /testing

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>

* changed generation command

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>

* changed release action

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>

* added rustup target

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>

* typo

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>

* typo

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>

* testing

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>

* testing

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>

* testing

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>

* testing

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>

* testing

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>

* changed all the yamls to activate on release to test everything together

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>

* added some logs as well

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>

* removed the 32 linux platform as github doesnt support such images and wasmer-vm causes crash when trying to cross-compile

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>

* change to on push

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>

* the aarch64v linux is incompatible too

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>

* removed slashes

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>

* deleted the outdated commandd in makefile

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>

* undo deleting the makefile rust build commands as it is apperantly used by the test yaml as well

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>

* Package all natives in a single jar. (#9)

* 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.

---------

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>
Co-authored-by: Yordan Atanasov <99724706+Zurcusa@users.noreply.github.com>
* added a bunch of comments and logs

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>

* update actions cache

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>

* incremented patch version

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>

* changed readme as well

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>

---------

Signed-off-by: Georgi Georgiev <georgi.getz@outlook.com>
@georg-getz georg-getz merged commit bebf230 into master Mar 26, 2025
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