E471 Web Build Failing on first time · Issue #283 · raylib-zig/raylib-zig · GitHub
[go: up one dir, main page]

Skip to content

Web Build Failing on first time #283

@maiconpintoabreu

Description

@maiconpintoabreu

Hi there, I had a issue migrating my project to the new version of raylib-zig (current one) that it was failing all the time on the gitaction and looks like the issue just happens the first time that the build runs.

So I created a Project using the script and add just the basic to replicate the issue and it is here: https://github.com/maiconpintoabreu/raylib-zig-gitaction-issue/actions/runs/17597767442/job/49993709330

The project was created running the project_setup.sh

The current workaround is to run the build that will fail as can fail and run again:

      - name: Work around 
        id: buildWebWorkAround
        continue-on-error: true
        run: |
          ./zig-folder/zig build -Dtarget=wasm32-emscripten -Doptimize=ReleaseSmall

      - name: Build Web Project
        id: buildWeb
        continue-on-error: true
        run: |
          ./zig-folder/zig build -Dtarget=wasm32-emscripten -Doptimize=ReleaseSmall
          cp README.md ${{ env.WEB_BUILD_DIR }}
          cp LICENSE ${{ env.WEB_BUILD_DIR }}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0