mirror of
https://github.com/denoland/deno.git
synced 2025-01-03 04:48:52 -05:00
parent
5db9f627e3
commit
622f9c6889
1 changed files with 10 additions and 11 deletions
21
.github/workflows/ci.yml
vendored
21
.github/workflows/ci.yml
vendored
|
@ -146,6 +146,15 @@ jobs:
|
||||||
if: "!matrix.use_sysroot && !startsWith(matrix.os, 'windows')"
|
if: "!matrix.use_sysroot && !startsWith(matrix.os, 'windows')"
|
||||||
run: echo "RUSTFLAGS=-D warnings" >> $GITHUB_ENV
|
run: echo "RUSTFLAGS=-D warnings" >> $GITHUB_ENV
|
||||||
|
|
||||||
|
- name: Configure canary build
|
||||||
|
if: |
|
||||||
|
matrix.kind == 'test' &&
|
||||||
|
matrix.profile == 'release' &&
|
||||||
|
github.repository == 'denoland/deno' &&
|
||||||
|
github.ref == 'refs/heads/main'
|
||||||
|
shell: bash
|
||||||
|
run: echo "DENO_CANARY=true" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Set up Linux sysroot with Ubuntu 18.04 and LLVM
|
- name: Set up Linux sysroot with Ubuntu 18.04 and LLVM
|
||||||
if: matrix.use_sysroot
|
if: matrix.use_sysroot
|
||||||
run: |
|
run: |
|
||||||
|
@ -212,7 +221,7 @@ jobs:
|
||||||
# Miscellaneous flags.
|
# Miscellaneous flags.
|
||||||
export CARGO_TERM_COLOR=always
|
export CARGO_TERM_COLOR=always
|
||||||
export CI=true
|
export CI=true
|
||||||
export DENO_CANARY=true
|
export DENO_CANARY=$DENO_CANARY
|
||||||
___
|
___
|
||||||
|
|
||||||
- name: Log versions
|
- name: Log versions
|
||||||
|
@ -297,16 +306,6 @@ jobs:
|
||||||
~/.cargo/registry/index/github.com-1ecc6299db9ec823
|
~/.cargo/registry/index/github.com-1ecc6299db9ec823
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Configure canary build
|
|
||||||
if: |
|
|
||||||
matrix.kind == 'test' &&
|
|
||||||
matrix.profile == 'release' &&
|
|
||||||
!matrix.use_sysroot &&
|
|
||||||
github.repository == 'denoland/deno' &&
|
|
||||||
github.ref == 'refs/heads/main'
|
|
||||||
shell: bash
|
|
||||||
run: echo "DENO_CANARY=true" >> $GITHUB_ENV
|
|
||||||
|
|
||||||
- name: test_format.js
|
- name: test_format.js
|
||||||
if: matrix.kind == 'lint'
|
if: matrix.kind == 'lint'
|
||||||
run: deno run --unstable --allow-write --allow-read --allow-run ./tools/format.js --check
|
run: deno run --unstable --allow-write --allow-read --allow-run ./tools/format.js --check
|
||||||
|
|
Loading…
Reference in a new issue