Skip to content

Build the WebAssembly module in CI - #13

Open
estebanzimanyi wants to merge 1 commit into
MobilityDB:mainfrom
estebanzimanyi:ci/wasm-build-and-test
Open

Build the WebAssembly module in CI#13
estebanzimanyi wants to merge 1 commit into
MobilityDB:mainfrom
estebanzimanyi:ci/wasm-build-and-test

Conversation

@estebanzimanyi

@estebanzimanyi estebanzimanyi commented Aug 15, 2026

Copy link
Copy Markdown
Member

The job builds the image's wasm target and takes meos.js and meos.wasm out
of it, so a pull request that changes the generator, the wrappers or the image
answers whether the module it produces still builds, and the listing step shows
what came out rather than only an exit code.

The mobilitydb_src stage is excluded from the cache. The MEOS the module
embeds comes from a clone of MobilityDB master made inside the image, and a
cached layer freezes it at whatever commit first populated it, so the module
would be built against a MEOS nobody is running. The dependency stages build
pinned releases and cache safely, which is what makes the job affordable.

@estebanzimanyi
estebanzimanyi force-pushed the ci/wasm-build-and-test branch from 8368086 to 153b4dc Compare August 15, 2026 15:53
The job builds the image's `wasm` target and takes `meos.js` and `meos.wasm` out
of it, so a pull request that changes the generator, the wrappers or the image
answers whether the module it produces still builds, and the listing step shows
what came out rather than only an exit code.

The `mobilitydb_src` stage is excluded from the cache. The MEOS the module
embeds comes from a clone of MobilityDB master made inside the image, and a
cached layer freezes it at whatever commit first populated it, so the module
would be built against a MEOS nobody is running. The dependency stages build
pinned releases and cache safely, which is what makes the job affordable.
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.

1 participant