mirror of
https://github.com/denoland/deno.git
synced 2024-11-22 15:06:54 -05:00
chore(ci): Run wpt launcher with preinstalled Deno (#15098)
This commit is contained in:
parent
018ad9b3a4
commit
12df9f3679
1 changed files with 21 additions and 21 deletions
42
.github/workflows/ci.yml
vendored
42
.github/workflows/ci.yml
vendored
|
@ -87,7 +87,7 @@ jobs:
|
||||||
- uses: dtolnay/rust-toolchain@stable
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
|
|
||||||
- name: Install Deno
|
- name: Install Deno
|
||||||
if: matrix.job == 'lint'
|
if: matrix.job == 'lint' || matrix.job == 'test'
|
||||||
uses: denoland/setup-deno@v1
|
uses: denoland/setup-deno@v1
|
||||||
with:
|
with:
|
||||||
deno-version: v1.x
|
deno-version: v1.x
|
||||||
|
@ -433,14 +433,14 @@ jobs:
|
||||||
env:
|
env:
|
||||||
DENO_BIN: ./target/debug/deno
|
DENO_BIN: ./target/debug/deno
|
||||||
run: |
|
run: |
|
||||||
"$DENO_BIN" run --allow-env --allow-net --allow-read --allow-run \
|
deno run --allow-env --allow-net --allow-read --allow-run \
|
||||||
--allow-write --unstable \
|
--allow-write --unstable \
|
||||||
--lock=tools/deno.lock.json \
|
--lock=tools/deno.lock.json \
|
||||||
./tools/wpt.ts setup
|
./tools/wpt.ts setup
|
||||||
"$DENO_BIN" run --allow-env --allow-net --allow-read --allow-run \
|
deno run --allow-env --allow-net --allow-read --allow-run \
|
||||||
--allow-write --unstable \
|
--allow-write --unstable \
|
||||||
--lock=tools/deno.lock.json \
|
--lock=tools/deno.lock.json \
|
||||||
./tools/wpt.ts run --quiet --binary="$DENO_BIN"
|
./tools/wpt.ts run --quiet --binary="$DENO_BIN"
|
||||||
|
|
||||||
- name: Run web platform tests (release)
|
- name: Run web platform tests (release)
|
||||||
if: |
|
if: |
|
||||||
|
@ -449,17 +449,17 @@ jobs:
|
||||||
env:
|
env:
|
||||||
DENO_BIN: ./target/release/deno
|
DENO_BIN: ./target/release/deno
|
||||||
run: |
|
run: |
|
||||||
"$DENO_BIN" run --allow-env --allow-net --allow-read --allow-run \
|
deno run --allow-env --allow-net --allow-read --allow-run \
|
||||||
--allow-write --unstable \
|
--allow-write --unstable \
|
||||||
--lock=tools/deno.lock.json \
|
--lock=tools/deno.lock.json \
|
||||||
./tools/wpt.ts setup
|
./tools/wpt.ts setup
|
||||||
"$DENO_BIN" run --allow-env --allow-net --allow-read --allow-run \
|
deno run --allow-env --allow-net --allow-read --allow-run \
|
||||||
--allow-write --unstable \
|
--allow-write --unstable \
|
||||||
--lock=tools/deno.lock.json \
|
--lock=tools/deno.lock.json \
|
||||||
./tools/wpt.ts run --quiet --release \
|
./tools/wpt.ts run --quiet --release \
|
||||||
--binary="$DENO_BIN" \
|
--binary="$DENO_BIN" \
|
||||||
--json=wpt.json \
|
--json=wpt.json \
|
||||||
--wptreport=wptreport.json
|
--wptreport=wptreport.json
|
||||||
|
|
||||||
- name: Upload wpt results to dl.deno.land
|
- name: Upload wpt results to dl.deno.land
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
|
@ -603,4 +603,4 @@ jobs:
|
||||||
- name: Upload canary version file to dl.deno.land
|
- name: Upload canary version file to dl.deno.land
|
||||||
run: |
|
run: |
|
||||||
echo ${{ github.sha }} > canary-latest.txt
|
echo ${{ github.sha }} > canary-latest.txt
|
||||||
gsutil -h "Cache-Control: no-cache" cp canary-latest.txt gs://dl.deno.land/canary-latest.txt
|
gsutil -h "Cache-Control: no-cache" cp canary-latest.txt gs://dl.deno.land/canary-latest.txt
|
||||||
|
|
Loading…
Reference in a new issue