mirror of
https://github.com/denoland/deno.git
synced 2025-01-18 11:53:59 -05:00
build: use non xl runners outside deno repo (#7729)
This commit is contained in:
parent
e3adeea769
commit
1a27c19c58
1 changed files with 6 additions and 8 deletions
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
|
@ -17,13 +17,13 @@ jobs:
|
||||||
kind: test_release
|
kind: test_release
|
||||||
- os: windows-2019
|
- os: windows-2019
|
||||||
kind: test_release
|
kind: test_release
|
||||||
- os: ubuntu-latest-xl
|
- os: ${{ github.repository == 'denoland/deno' && 'ubuntu-latest-xl' || 'ubuntu-18.04' }}
|
||||||
kind: test_release
|
kind: test_release
|
||||||
- os: ubuntu-latest-xl
|
- os: ${{ github.repository == 'denoland/deno' && 'ubuntu-latest-xl' || 'ubuntu-18.04' }}
|
||||||
kind: test_debug
|
kind: test_debug
|
||||||
- os: ubuntu-latest-xl
|
- os: ${{ github.repository == 'denoland/deno' && 'ubuntu-latest-xl' || 'ubuntu-18.04' }}
|
||||||
kind: bench
|
kind: bench
|
||||||
- os: ubuntu-latest-xl
|
- os: ${{ github.repository == 'denoland/deno' && 'ubuntu-latest-xl' || 'ubuntu-18.04' }}
|
||||||
kind: lint
|
kind: lint
|
||||||
|
|
||||||
# Always run master branch builds to completion. This allows the cache to
|
# Always run master branch builds to completion. This allows the cache to
|
||||||
|
@ -31,8 +31,7 @@ jobs:
|
||||||
# e.g. a flaky test.
|
# e.g. a flaky test.
|
||||||
# Don't fast-fail on tag build because publishing binaries shouldn't be
|
# Don't fast-fail on tag build because publishing binaries shouldn't be
|
||||||
# prevented if 'cargo publish' fails (which can be a false negative).
|
# prevented if 'cargo publish' fails (which can be a false negative).
|
||||||
fail-fast:
|
fail-fast: ${{ github.event_name == 'pull_request' || (github.ref !=
|
||||||
${{ github.event_name == 'pull_request' || (github.ref !=
|
|
||||||
'refs/heads/master' && !startsWith(github.ref, 'refs/tags/')) }}
|
'refs/heads/master' && !startsWith(github.ref, 'refs/tags/')) }}
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
@ -115,8 +114,7 @@ jobs:
|
||||||
target/*/.*
|
target/*/.*
|
||||||
target/*/build
|
target/*/build
|
||||||
target/*/deps
|
target/*/deps
|
||||||
key:
|
key: ${{ matrix.os }}-${{ matrix.kind }}-${{ hashFiles('Cargo.lock') }}
|
||||||
${{ matrix.os }}-${{ matrix.kind }}-${{ hashFiles('Cargo.lock') }}
|
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ matrix.os }}-${{ matrix.kind }}-
|
${{ matrix.os }}-${{ matrix.kind }}-
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue