diff --git a/.github/workflows/e2e-integration-test.yml b/.github/workflows/e2e-integration-test.yml index 5bb24d1f..7a6de0ee 100644 --- a/.github/workflows/e2e-integration-test.yml +++ b/.github/workflows/e2e-integration-test.yml @@ -66,3 +66,19 @@ jobs: ./lightpanda serve & echo $! > LPD.pid go run integration/main.go kill `cat LPD.pid` + + browser-fetch: + name: browser fetch + needs: zig-build-release + + runs-on: ubuntu-latest + + steps: + - name: download artifact + uses: actions/download-artifact@v4 + with: + name: lightpanda-build-release + + - run: chmod a+x ./lightpanda + + - run: ./lightpanda fetch https://demo-browser.lightpanda.io/campfire-commerce/ diff --git a/.github/workflows/wpt.yml b/.github/workflows/wpt.yml index 489bd8dd..2011e766 100644 --- a/.github/workflows/wpt.yml +++ b/.github/workflows/wpt.yml @@ -31,7 +31,7 @@ jobs: - uses: ./.github/actions/install - name: json output - run: zig build wpt -- --json > wpt.json + run: zig build -Dprebuilt_v8_path=v8/libc_v8.a wpt -- --json > wpt.json - name: write commit run: | diff --git a/.github/workflows/zig-test.yml b/.github/workflows/zig-test.yml index cf40c990..3e05c7e5 100644 --- a/.github/workflows/zig-test.yml +++ b/.github/workflows/zig-test.yml @@ -38,52 +38,6 @@ on: workflow_dispatch: jobs: - zig-build-dev: - name: zig build dev - - # Don't run the CI with draft PR. - if: github.event.pull_request.draft == false - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v6 - with: - fetch-depth: 0 - submodules: recursive - - - uses: ./.github/actions/install - - - name: zig build debug - run: zig build -Dprebuilt_v8_path=v8/libc_v8.a - - - name: upload artifact - uses: actions/upload-artifact@v4 - with: - name: lightpanda-build-dev - path: | - zig-out/bin/lightpanda - retention-days: 1 - - browser-fetch: - name: browser fetch - needs: zig-build-dev - - # Don't run the CI with draft PR. - if: github.event.pull_request.draft == false - - runs-on: ubuntu-latest - - steps: - - name: download artifact - uses: actions/download-artifact@v4 - with: - name: lightpanda-build-dev - - - run: chmod a+x ./lightpanda - - - run: ./lightpanda fetch https://httpbin.io/xhr/get - zig-test: name: zig test timeout-minutes: 15