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

CI: Fix missing file in WebAssembly deployment #488

Merged
merged 1 commit into from
Sep 2, 2024

Conversation

ChinYikMing
Copy link
Collaborator

After merging #487, the elf_list.js file is generated dynamically, and the wasm service requires this file to run. However, during CI deployment, the file is not pushed to the rv32emu-demo repo, causing the GitHub Pages to malfunction. To resolve this, pushing the file to the rv32emu-demo repo is the solution.

The 'demo' directory is only created when the WASM service runs locally. To address this, the elf_list.js file should be placed in the 'build' directory instead, as the CI deployment does not invoke the Makefile's start-web target, so the 'demo' directory will not be generated.

After merging sysprog21#487, the elf_list.js file is generated dynamically, and
the wasm service requires this file to run. However, during CI deployment,
the file is not pushed to the rv32emu-demo repo, causing the GitHub Pages
to malfunction. To resolve this, pushing the file to the rv32emu-demo repo
is the solution.

The 'demo' directory is only created when the WASM service runs locally.
To address this, the elf_list.js file should be placed in the 'build'
directory instead, as the CI deployment does not invoke the Makefile's
start-web target, so the 'demo' directory will not be generated.
@jserv jserv added this to the release-2024.1 milestone Sep 2, 2024
@jserv jserv merged commit 10bc401 into sysprog21:master Sep 2, 2024
8 checks passed
@ChinYikMing ChinYikMing deleted the fix-wasm-service branch September 2, 2024 06:02
@ChinYikMing
Copy link
Collaborator Author

The WebAssembly CI needs to be triggered on our own.

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