mirror of
https://github.com/denoland/deno.git
synced 2025-01-18 03:44:05 -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
|
||||
- os: windows-2019
|
||||
kind: test_release
|
||||
- os: ubuntu-latest-xl
|
||||
- os: ${{ github.repository == 'denoland/deno' && 'ubuntu-latest-xl' || 'ubuntu-18.04' }}
|
||||
kind: test_release
|
||||
- os: ubuntu-latest-xl
|
||||
- os: ${{ github.repository == 'denoland/deno' && 'ubuntu-latest-xl' || 'ubuntu-18.04' }}
|
||||
kind: test_debug
|
||||
- os: ubuntu-latest-xl
|
||||
- os: ${{ github.repository == 'denoland/deno' && 'ubuntu-latest-xl' || 'ubuntu-18.04' }}
|
||||
kind: bench
|
||||
- os: ubuntu-latest-xl
|
||||
- os: ${{ github.repository == 'denoland/deno' && 'ubuntu-latest-xl' || 'ubuntu-18.04' }}
|
||||
kind: lint
|
||||
|
||||
# Always run master branch builds to completion. This allows the cache to
|
||||
|
@ -31,8 +31,7 @@ jobs:
|
|||
# e.g. a flaky test.
|
||||
# Don't fast-fail on tag build because publishing binaries shouldn't be
|
||||
# prevented if 'cargo publish' fails (which can be a false negative).
|
||||
fail-fast:
|
||||
${{ github.event_name == 'pull_request' || (github.ref !=
|
||||
fail-fast: ${{ github.event_name == 'pull_request' || (github.ref !=
|
||||
'refs/heads/master' && !startsWith(github.ref, 'refs/tags/')) }}
|
||||
|
||||
env:
|
||||
|
@ -115,8 +114,7 @@ jobs:
|
|||
target/*/.*
|
||||
target/*/build
|
||||
target/*/deps
|
||||
key:
|
||||
${{ matrix.os }}-${{ matrix.kind }}-${{ hashFiles('Cargo.lock') }}
|
||||
key: ${{ matrix.os }}-${{ matrix.kind }}-${{ hashFiles('Cargo.lock') }}
|
||||
restore-keys: |
|
||||
${{ matrix.os }}-${{ matrix.kind }}-
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue