Skip to content

Commit

Permalink
try using output-base option from bazel-contrib/setup-bazel
Browse files Browse the repository at this point in the history
  • Loading branch information
Frizi committed Dec 19, 2024
1 parent c7b3f07 commit 8c86f81
Show file tree
Hide file tree
Showing 15 changed files with 184 additions and 482 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,13 @@ jobs:
runs-on:
- X64
steps:
- if: runner.os != 'Windows'
name: Setup bazel environment
uses: bazel-contrib/[email protected]
- name: Setup bazel environment
uses: bazel-contrib/setup-bazel@09f3a72
with:
bazelisk-cache: true
disk-cache: true
output-base: ${{ runner.os == 'Windows' && 'c:/_bazel' || '' }}
repository-cache: true
- if: runner.os == 'Windows'
name: Setup bazel environment
uses: bazel-contrib/[email protected]
with:
bazelrc: startup --output_base=c:/_bazel
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')
name: Installing wasm-pack
uses: jetli/[email protected]
Expand Down
11 changes: 3 additions & 8 deletions .github/workflows/engine-benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,13 @@ jobs:
runs-on:
- benchmark
steps:
- if: runner.os != 'Windows'
name: Setup bazel environment
uses: bazel-contrib/[email protected]
- name: Setup bazel environment
uses: bazel-contrib/setup-bazel@09f3a72
with:
bazelisk-cache: true
disk-cache: true
output-base: ${{ runner.os == 'Windows' && 'c:/_bazel' || '' }}
repository-cache: true
- if: runner.os == 'Windows'
name: Setup bazel environment
uses: bazel-contrib/[email protected]
with:
bazelrc: startup --output_base=c:/_bazel
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')
name: Installing wasm-pack
uses: jetli/[email protected]
Expand Down
165 changes: 45 additions & 120 deletions .github/workflows/engine-checks-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,13 @@ jobs:
- self-hosted
- Linux
steps:
- if: runner.os != 'Windows'
name: Setup bazel environment
uses: bazel-contrib/[email protected]
- name: Setup bazel environment
uses: bazel-contrib/setup-bazel@09f3a72
with:
bazelisk-cache: true
disk-cache: true
output-base: ${{ runner.os == 'Windows' && 'c:/_bazel' || '' }}
repository-cache: true
- if: runner.os == 'Windows'
name: Setup bazel environment
uses: bazel-contrib/[email protected]
with:
bazelrc: startup --output_base=c:/_bazel
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')
name: Installing wasm-pack
uses: jetli/[email protected]
Expand Down Expand Up @@ -77,18 +72,13 @@ jobs:
- macOS
- ARM64
steps:
- if: runner.os != 'Windows'
name: Setup bazel environment
uses: bazel-contrib/[email protected]
- name: Setup bazel environment
uses: bazel-contrib/setup-bazel@09f3a72
with:
bazelisk-cache: true
disk-cache: true
output-base: ${{ runner.os == 'Windows' && 'c:/_bazel' || '' }}
repository-cache: true
- if: runner.os == 'Windows'
name: Setup bazel environment
uses: bazel-contrib/[email protected]
with:
bazelrc: startup --output_base=c:/_bazel
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')
name: Installing wasm-pack
uses: jetli/[email protected]
Expand Down Expand Up @@ -133,18 +123,13 @@ jobs:
runs-on:
- macos-13
steps:
- if: runner.os != 'Windows'
name: Setup bazel environment
uses: bazel-contrib/[email protected]
- name: Setup bazel environment
uses: bazel-contrib/setup-bazel@09f3a72
with:
bazelisk-cache: true
disk-cache: true
output-base: ${{ runner.os == 'Windows' && 'c:/_bazel' || '' }}
repository-cache: true
- if: runner.os == 'Windows'
name: Setup bazel environment
uses: bazel-contrib/[email protected]
with:
bazelrc: startup --output_base=c:/_bazel
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')
name: Installing wasm-pack
uses: jetli/[email protected]
Expand Down Expand Up @@ -190,18 +175,13 @@ jobs:
- self-hosted
- Windows
steps:
- if: runner.os != 'Windows'
name: Setup bazel environment
uses: bazel-contrib/[email protected]
- name: Setup bazel environment
uses: bazel-contrib/setup-bazel@09f3a72
with:
bazelisk-cache: true
disk-cache: true
output-base: ${{ runner.os == 'Windows' && 'c:/_bazel' || '' }}
repository-cache: true
- if: runner.os == 'Windows'
name: Setup bazel environment
uses: bazel-contrib/[email protected]
with:
bazelrc: startup --output_base=c:/_bazel
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')
name: Installing wasm-pack
uses: jetli/[email protected]
Expand Down Expand Up @@ -247,18 +227,13 @@ jobs:
- self-hosted
- Linux
steps:
- if: runner.os != 'Windows'
name: Setup bazel environment
uses: bazel-contrib/[email protected]
- name: Setup bazel environment
uses: bazel-contrib/setup-bazel@09f3a72
with:
bazelisk-cache: true
disk-cache: true
output-base: ${{ runner.os == 'Windows' && 'c:/_bazel' || '' }}
repository-cache: true
- if: runner.os == 'Windows'
name: Setup bazel environment
uses: bazel-contrib/[email protected]
with:
bazelrc: startup --output_base=c:/_bazel
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')
name: Installing wasm-pack
uses: jetli/[email protected]
Expand Down Expand Up @@ -304,18 +279,13 @@ jobs:
- self-hosted
- Linux
steps:
- if: runner.os != 'Windows'
name: Setup bazel environment
uses: bazel-contrib/[email protected]
- name: Setup bazel environment
uses: bazel-contrib/setup-bazel@09f3a72
with:
bazelisk-cache: true
disk-cache: true
output-base: ${{ runner.os == 'Windows' && 'c:/_bazel' || '' }}
repository-cache: true
- if: runner.os == 'Windows'
name: Setup bazel environment
uses: bazel-contrib/[email protected]
with:
bazelrc: startup --output_base=c:/_bazel
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')
name: Installing wasm-pack
uses: jetli/[email protected]
Expand Down Expand Up @@ -373,18 +343,13 @@ jobs:
- macOS
- ARM64
steps:
- if: runner.os != 'Windows'
name: Setup bazel environment
uses: bazel-contrib/[email protected]
- name: Setup bazel environment
uses: bazel-contrib/setup-bazel@09f3a72
with:
bazelisk-cache: true
disk-cache: true
output-base: ${{ runner.os == 'Windows' && 'c:/_bazel' || '' }}
repository-cache: true
- if: runner.os == 'Windows'
name: Setup bazel environment
uses: bazel-contrib/[email protected]
with:
bazelrc: startup --output_base=c:/_bazel
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')
name: Installing wasm-pack
uses: jetli/[email protected]
Expand Down Expand Up @@ -440,18 +405,13 @@ jobs:
runs-on:
- macos-13
steps:
- if: runner.os != 'Windows'
name: Setup bazel environment
uses: bazel-contrib/[email protected]
- name: Setup bazel environment
uses: bazel-contrib/setup-bazel@09f3a72
with:
bazelisk-cache: true
disk-cache: true
output-base: ${{ runner.os == 'Windows' && 'c:/_bazel' || '' }}
repository-cache: true
- if: runner.os == 'Windows'
name: Setup bazel environment
uses: bazel-contrib/[email protected]
with:
bazelrc: startup --output_base=c:/_bazel
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')
name: Installing wasm-pack
uses: jetli/[email protected]
Expand Down Expand Up @@ -508,18 +468,13 @@ jobs:
- self-hosted
- Windows
steps:
- if: runner.os != 'Windows'
name: Setup bazel environment
uses: bazel-contrib/[email protected]
- name: Setup bazel environment
uses: bazel-contrib/setup-bazel@09f3a72
with:
bazelisk-cache: true
disk-cache: true
output-base: ${{ runner.os == 'Windows' && 'c:/_bazel' || '' }}
repository-cache: true
- if: runner.os == 'Windows'
name: Setup bazel environment
uses: bazel-contrib/[email protected]
with:
bazelrc: startup --output_base=c:/_bazel
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')
name: Installing wasm-pack
uses: jetli/[email protected]
Expand Down Expand Up @@ -576,18 +531,13 @@ jobs:
- self-hosted
- Linux
steps:
- if: runner.os != 'Windows'
name: Setup bazel environment
uses: bazel-contrib/[email protected]
- name: Setup bazel environment
uses: bazel-contrib/setup-bazel@09f3a72
with:
bazelisk-cache: true
disk-cache: true
output-base: ${{ runner.os == 'Windows' && 'c:/_bazel' || '' }}
repository-cache: true
- if: runner.os == 'Windows'
name: Setup bazel environment
uses: bazel-contrib/[email protected]
with:
bazelrc: startup --output_base=c:/_bazel
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')
name: Installing wasm-pack
uses: jetli/[email protected]
Expand Down Expand Up @@ -644,18 +594,13 @@ jobs:
- self-hosted
- Linux
steps:
- if: runner.os != 'Windows'
name: Setup bazel environment
uses: bazel-contrib/[email protected]
- name: Setup bazel environment
uses: bazel-contrib/setup-bazel@09f3a72
with:
bazelisk-cache: true
disk-cache: true
output-base: ${{ runner.os == 'Windows' && 'c:/_bazel' || '' }}
repository-cache: true
- if: runner.os == 'Windows'
name: Setup bazel environment
uses: bazel-contrib/[email protected]
with:
bazelrc: startup --output_base=c:/_bazel
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')
name: Installing wasm-pack
uses: jetli/[email protected]
Expand Down Expand Up @@ -716,18 +661,13 @@ jobs:
- macOS
- ARM64
steps:
- if: runner.os != 'Windows'
name: Setup bazel environment
uses: bazel-contrib/[email protected]
- name: Setup bazel environment
uses: bazel-contrib/setup-bazel@09f3a72
with:
bazelisk-cache: true
disk-cache: true
output-base: ${{ runner.os == 'Windows' && 'c:/_bazel' || '' }}
repository-cache: true
- if: runner.os == 'Windows'
name: Setup bazel environment
uses: bazel-contrib/[email protected]
with:
bazelrc: startup --output_base=c:/_bazel
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')
name: Installing wasm-pack
uses: jetli/[email protected]
Expand Down Expand Up @@ -786,18 +726,13 @@ jobs:
runs-on:
- macos-13
steps:
- if: runner.os != 'Windows'
name: Setup bazel environment
uses: bazel-contrib/[email protected]
- name: Setup bazel environment
uses: bazel-contrib/setup-bazel@09f3a72
with:
bazelisk-cache: true
disk-cache: true
output-base: ${{ runner.os == 'Windows' && 'c:/_bazel' || '' }}
repository-cache: true
- if: runner.os == 'Windows'
name: Setup bazel environment
uses: bazel-contrib/[email protected]
with:
bazelrc: startup --output_base=c:/_bazel
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')
name: Installing wasm-pack
uses: jetli/[email protected]
Expand Down Expand Up @@ -857,18 +792,13 @@ jobs:
- self-hosted
- Windows
steps:
- if: runner.os != 'Windows'
name: Setup bazel environment
uses: bazel-contrib/[email protected]
- name: Setup bazel environment
uses: bazel-contrib/setup-bazel@09f3a72
with:
bazelisk-cache: true
disk-cache: true
output-base: ${{ runner.os == 'Windows' && 'c:/_bazel' || '' }}
repository-cache: true
- if: runner.os == 'Windows'
name: Setup bazel environment
uses: bazel-contrib/[email protected]
with:
bazelrc: startup --output_base=c:/_bazel
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')
name: Installing wasm-pack
uses: jetli/[email protected]
Expand Down Expand Up @@ -928,18 +858,13 @@ jobs:
- self-hosted
- Linux
steps:
- if: runner.os != 'Windows'
name: Setup bazel environment
uses: bazel-contrib/[email protected]
- name: Setup bazel environment
uses: bazel-contrib/setup-bazel@09f3a72
with:
bazelisk-cache: true
disk-cache: true
output-base: ${{ runner.os == 'Windows' && 'c:/_bazel' || '' }}
repository-cache: true
- if: runner.os == 'Windows'
name: Setup bazel environment
uses: bazel-contrib/[email protected]
with:
bazelrc: startup --output_base=c:/_bazel
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')
name: Installing wasm-pack
uses: jetli/[email protected]
Expand Down
Loading

0 comments on commit 8c86f81

Please sign in to comment.