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

compilation for clang/gcc and webassembly including ci pipeline #3

Merged
merged 105 commits into from
Jan 10, 2024

Conversation

adam-ce
Copy link
Contributor

@adam-ce adam-ce commented Jan 9, 2024

this fixes #1 , in addition i fixed it up so it compiles to webassembly using emscripten. and i setup a ci pipeline to run tests on clang, gcc and msvc automatically. the ci pipeline also compiles and deploys a webassembly version of the tests (e..g https://alpinemapsorgdependencies.github.io/Goofy/), but doesn't run it. you have to open it manually and wait for the test to pass (the long test takes forever).

…). todo: produce artefacts

not gonna work in ci because:
- the browser is anyway its own environment.
- node couldn't start it, for whatever reason (no error message)
- then i switched to my qml gui, which needs graphical output

previous attempts:
- couldn't open files, because wasi is very incomplete when compiling
using emscripten. compiling with other toolchains also failed for
various reasons.
- e.g. couldn't use qrc due to some missing link time dependencies
- porting to wasi is probably not impossible, but having it run in
wasmtime or wasmer doesn't proove it working in the browser anyways.

and i'm tired of it.
Copy link
Owner

@SergeyMakeev SergeyMakeev left a comment

Choose a reason for hiding this comment

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

This is awesome! LGTM

@SergeyMakeev SergeyMakeev merged commit 4a7218a into SergeyMakeev:master Jan 10, 2024
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.

GCC/Linux support
2 participants