Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bazel build system #11337

Open
wants to merge 151 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 134 commits
Commits
Show all changes
151 commits
Select commit Hold shift + click to select a range
bdce72d
initial bazel config wip
Frizi Apr 19, 2024
6836fa8
.bazelignore and .bazelversion
hubertp Apr 22, 2024
d9387ac
bump rules_nodejs to fix node version issue
hubertp Apr 22, 2024
f0fe74e
bazel gui2 start of vite build
Frizi Apr 23, 2024
314af22
Merge branch 'wip/frizi/bazel' of github.com:enso-org/enso into wip/f…
Frizi Apr 23, 2024
873b904
Initial build setup for backend
hubertp Apr 24, 2024
e8a67cc
nit
hubertp Apr 24, 2024
b3f9472
declare missing pnpm transitive deps
Frizi Apr 25, 2024
51d55d2
Merge branch 'wip/frizi/bazel' of github.com:enso-org/enso into wip/f…
Frizi Apr 25, 2024
ab61bd0
compile with graalvm
hubertp Apr 24, 2024
cd8f504
common options
hubertp Apr 24, 2024
fede7ef
Mixed Scala/Java, fixed scala_rules for latest JDK
hubertp Apr 25, 2024
94e3a35
update module lock
hubertp Apr 25, 2024
0ae2b60
test
hubertp Apr 25, 2024
5bb8e4b
ignore directories
hubertp Apr 25, 2024
38604ca
tests setup
hubertp Apr 25, 2024
2d52296
generate pom.xml via bazel-distribution
hubertp Apr 26, 2024
01b8f4e
Merge branch 'develop' into wip/frizi/bazel
Frizi Jul 19, 2024
4467c27
rust progress
Frizi Jul 26, 2024
03df7f0
Merge branch 'develop' into wip/frizi/bazel
Frizi Aug 6, 2024
45bab8b
Merge branch 'develop' into wip/frizi/bazel
Frizi Aug 6, 2024
2ef150e
progress on rust compilation
Frizi Aug 8, 2024
fd6824c
Merge branch 'develop' into wip/frizi/bazel
Frizi Aug 8, 2024
259fb02
rust-ffi compiles through cargo again
Frizi Aug 8, 2024
c9aba8d
Merge branch 'develop' into wip/frizi/bazel
Frizi Aug 12, 2024
272d416
Merge branch 'develop' into wip/frizi/bazel
Frizi Aug 14, 2024
4b6eebe
Merge branch 'develop' into wip/frizi/bazel
Frizi Aug 26, 2024
1c2b068
update bazelignore
Frizi Aug 26, 2024
fc4dba1
rust-ffi wasm is building
Frizi Sep 3, 2024
6c69b33
Merge remote-tracking branch 'origin/develop' into wip/frizi/bazel
Frizi Sep 24, 2024
f15db21
Merge branch 'develop' into wip/frizi/bazel
Frizi Sep 25, 2024
e2749c8
butchering ydoc-shared
vitvakatu Sep 25, 2024
0bd954e
fixing ydoc-shared
vitvakatu Sep 26, 2024
cd014bd
wip
vitvakatu Sep 26, 2024
20a0004
Fixing deps
vitvakatu Sep 26, 2024
63668bf
ydoc-server-nodejs working
vitvakatu Sep 30, 2024
706beaa
fighting with rust-ffi
vitvakatu Sep 30, 2024
c324eef
Add write_source_files rules to replace wasm-pack
Frizi Sep 30, 2024
bca9276
fix rust-ffi
vitvakatu Oct 1, 2024
86369fc
fix runtime error in ydoc-server
vitvakatu Oct 1, 2024
2f74a7d
Move ast schema generation to bazel
Frizi Oct 1, 2024
dec26a2
use bazel instead of bazelisk command
Frizi Oct 1, 2024
78dc12d
fix wrong argument indices
Frizi Oct 1, 2024
c76aee4
working through app/gui2 errors
vitvakatu Oct 1, 2024
4af5c67
reviewing changes
vitvakatu Oct 2, 2024
f7b7f70
working gui2 build
vitvakatu Oct 2, 2024
a86bd81
vite preview in bazel (wip)
vitvakatu Oct 2, 2024
b5e9094
vite preview working (well, almost)
vitvakatu Oct 2, 2024
519565b
move enso-common to top level and add missing compile scripts
Frizi Oct 3, 2024
6057b7b
add preserveConstEnums
Frizi Oct 3, 2024
22c358d
add missing generated files
Frizi Oct 8, 2024
8718b47
fix vite build under linux
Frizi Oct 8, 2024
3ba0ce9
Merge branch 'develop' into wip/frizi/bazel
Frizi Oct 14, 2024
7dbd39b
merge bazel build for app and dashboard
Frizi Oct 14, 2024
ae7ad3e
fixing some vite build issues
Frizi Oct 14, 2024
693d08a
tailwind config as ts file
Frizi Oct 14, 2024
3db3616
fix missing fonts
Frizi Oct 14, 2024
daf3bef
proper enso-support package name
Frizi Oct 14, 2024
cb90e62
fix type error
Frizi Oct 14, 2024
d9b209f
env loading and replacement
Frizi Oct 15, 2024
3fa3191
prototype bazel github action
Frizi Oct 16, 2024
3e5ee64
Merge branch 'develop' into wip/frizi/bazel
Frizi Oct 16, 2024
8cb3164
try producing action artifact
Frizi Oct 16, 2024
8ee61e9
WIP doentv related config changes
Frizi Oct 21, 2024
1d24178
dotenv file reading in bazel
Frizi Oct 21, 2024
a9cc568
remove getenv usage
Frizi Oct 21, 2024
756c8b9
node-env
Frizi Oct 21, 2024
f2e2aa5
allow overriding NODE_ENV in bazel build
Frizi Oct 21, 2024
9346a1c
Merge branch 'develop' into wip/frizi/bazel
Frizi Oct 21, 2024
39aef4c
reorder workflow steps
Frizi Oct 21, 2024
97c6b6b
rename envs in workflow
Frizi Oct 21, 2024
252a49f
add missing envs
Frizi Oct 21, 2024
dda5762
add missed config vars
Frizi Oct 21, 2024
bd24585
fix missing vars and file hash encoding
Frizi Oct 21, 2024
e3d1f29
wrong env name
Frizi Oct 21, 2024
cefac0b
fix incorrectly embedded envs in older zustand, lint, fix run script
Frizi Oct 22, 2024
0f618b0
fix runner config file
Frizi Oct 22, 2024
a113993
add env example file
Frizi Oct 22, 2024
17a5cb3
adjust example env
Frizi Oct 22, 2024
2924533
move example env to default env
Frizi Oct 22, 2024
1c06867
adjust buildinfo env vars
Frizi Oct 22, 2024
053a177
do not read removed config
Frizi Oct 22, 2024
785a5d6
allow sharp dep to run install script
Frizi Oct 22, 2024
17762d8
fix eslint errors
Frizi Oct 22, 2024
eb4e3b2
Merge branch 'develop' into wip/frizi/bazel
Frizi Oct 23, 2024
482030e
remove logs and shorten version hash
Frizi Oct 23, 2024
20b4bb2
clippy
Frizi Oct 23, 2024
6a5247f
add bazel via npm
Frizi Oct 23, 2024
3aee2f8
compile before ci-check
Frizi Oct 23, 2024
ebbf260
Make enums non-const in generated ast code
Frizi Oct 23, 2024
e580a10
adjust build script to new env variable names, change vite env prefix
Frizi Oct 23, 2024
5bd3693
fix env names in bazel workflow
Frizi Oct 23, 2024
fcafaee
clippy
Frizi Oct 23, 2024
70dab6c
typecheck and prettier fix
Frizi Oct 23, 2024
0ee4cd5
narrow down crate search in wasm tests runner
Frizi Oct 23, 2024
95ef92d
eslint and polyglot build fix
Frizi Oct 23, 2024
5c747a2
force clean rebuild
Frizi Oct 23, 2024
e7eb633
prettier
Frizi Oct 23, 2024
68e1648
resolve review comments
Frizi Oct 28, 2024
2f032c6
Merge branch 'develop' into wip/frizi/bazel
Frizi Oct 28, 2024
cda199f
add system tar toolchain on windows
Frizi Oct 29, 2024
6e3661b
add bazel config step to CI runners
Frizi Oct 29, 2024
f9be827
Merge branch 'develop' into wip/frizi/bazel
Frizi Oct 29, 2024
77703b8
fix missing import after merge
Frizi Oct 29, 2024
883d14c
add speical bazel setup for windows runner
Frizi Oct 31, 2024
7b1e72e
Merge branch 'develop' into wip/frizi/bazel
Frizi Dec 11, 2024
98e7d98
pnpm install works
Frizi Dec 11, 2024
9faf0a9
stabilize build
Frizi Dec 18, 2024
86fc370
Merge branch 'develop' into wip/frizi/bazel
Frizi Dec 18, 2024
e1c6022
revert few unwanted changes
Frizi Dec 18, 2024
1ff2e4f
fix ports
Frizi Dec 18, 2024
c5495a0
fix env-replacer on windows
Frizi Dec 19, 2024
cbc514f
Skip env-replacer step for now.
Frizi Dec 19, 2024
5c793c0
fix preview server
Frizi Dec 19, 2024
ad96de2
fix dashboard tests
Frizi Dec 19, 2024
a686d2f
fix test entrypoint filename
Frizi Dec 19, 2024
c71592d
Fix lint errors
somebody1234 Dec 19, 2024
b3f306a
revert to using project display name
Frizi Dec 19, 2024
1e2e6b4
Merge branch 'wip/frizi/bazel' of github.com:enso-org/enso into wip/f…
Frizi Dec 19, 2024
12d4aa5
Merge branch 'develop' into wip/frizi/bazel
Frizi Dec 19, 2024
636aed2
fix storybook build
Frizi Dec 19, 2024
3c8d1b2
fix lint issues
Frizi Dec 19, 2024
a3c8078
fix typecheck
Frizi Dec 19, 2024
fe874c6
run compile before typecheck
Frizi Dec 19, 2024
40f2820
compile deps in chromatic job
Frizi Dec 19, 2024
c7b3f07
fix generated icon file imports and add compilation step to e2e
Frizi Dec 19, 2024
8c86f81
try using output-base option from bazel-contrib/setup-bazel
Frizi Dec 19, 2024
0b6c681
use full commit sha for github action
Frizi Dec 19, 2024
569d7b6
Manually remove bazel directories to prevent failing git clean on win…
Frizi Dec 19, 2024
f7c2425
Merge branch 'develop' into wip/frizi/bazel
vitvakatu Dec 20, 2024
f773a65
Revert changes to import in electron’s preload
vitvakatu Dec 20, 2024
aa02e10
Expose ENSO_IDE_AUTH_ENDPOINT from CI runner vars
Frizi Dec 20, 2024
cdecec1
more debugging
vitvakatu Dec 20, 2024
3569f1b
Revert "more debugging"
vitvakatu Dec 20, 2024
23c4293
Add MSYS to Windows CI
Frizi Dec 20, 2024
9a10050
Merge branch 'wip/frizi/bazel' of github.com:enso-org/enso into wip/f…
Frizi Dec 20, 2024
5f9247a
rebuild workflows
Frizi Dec 20, 2024
0e2313f
Fix YDOC_SERVER_URL and PROJECT_MANAGER_URL
vitvakatu Dec 20, 2024
06f6eb6
Remove process.env usages
vitvakatu Dec 20, 2024
bfc9c8a
Add bash to PATH on Windows CI runners
vitvakatu Dec 20, 2024
01211b1
Fix login issue by NOT using cognito auth endpoint
vitvakatu Dec 20, 2024
9e05a23
actually update path in github env
Frizi Dec 20, 2024
95f8b86
do not forget to regenerate workflows
Frizi Dec 20, 2024
fbd611a
remove quotes from path
Frizi Dec 20, 2024
e21c5ce
Merge branch 'develop' into wip/frizi/bazel
Frizi Dec 30, 2024
f04f5ef
fix invalid zustand usage
Frizi Dec 30, 2024
0880898
bump bazel packages and remove no longer needed hacks
Frizi Dec 31, 2024
0f2d030
update referenced commit of rules_rust
Frizi Dec 31, 2024
401295e
add BAZEL_VC env to CI runs
Frizi Dec 31, 2024
55789f6
set BAZEL_VC at bazel build time
Frizi Dec 31, 2024
9d65525
format
Frizi Dec 31, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
36 changes: 36 additions & 0 deletions .bazelignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# all node modules
node_modules
app/gui/node_modules
app/common/node_modules
app/ide-desktop/client/node_modules
app/ide-desktop/icons/node_modules
app/ide-desktop/lib/assets/node_modules
app/ide-desktop/lib/client/node_modules
app/ide-desktop/lib/common/node_modules
app/ide-desktop/lib/content-config/node_modules
app/ide-desktop/lib/dashboard/node_modules
app/ide-desktop/lib/esbuild-plugin-copy-directories/node_modules
app/ide-desktop/lib/icons/node_modules
app/ide-desktop/lib/ts-plugin-namespace-auto-import/node_modules
app/ide-desktop/node_modules
app/rust-ffi/node_modules
app/ydoc-server/node_modules
app/ydoc-server-nodejs/node_modules
app/ydoc-server-polyglot/node_modules
app/ydoc-shared/node_modules
app/ydoc-shared/parser-codegen/generated
app/ydoc-shared/parser-codegen/node_modules
lib/js/runner/node_modules

#
.bloop
bazel-enso
bazel-out
bazel-testlogs
build-cache
.idea
.vscode
.dist
target
build
.git
47 changes: 47 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# FIXME: consider using RC files from guide: https://docs.aspect.build/guides/bazelrc/

## General rules
common --enable_platform_specific_config
common --incompatible_allow_tags_propagation
common --incompatible_disallow_empty_glob
test --test_output=errors
build --show_result=20
build --reuse_sandbox_directories
build --nolegacy_external_runfiles
build --noexperimental_check_output_files --experimental_allow_tags_propagation
fetch --noexperimental_check_output_files --experimental_allow_tags_propagation
query --noexperimental_check_output_files --experimental_allow_tags_propagation
build --nobuild_runfile_links
coverage --build_runfile_links

## JS

# passes an argument `--skipLibCheck` to *every* spawn of tsc
common --@aspect_rules_ts//ts:skipLibCheck=always
common --@aspect_rules_ts//ts:default_to_tsc_transpiler

# Allow the Bazel server to check directory sources for changes. Ensures that the Bazel server
# notices when a directory changes, if you have a directory listed in the srcs of some target.
# Recommended when using
# [copy_directory](https://github.com/aspect-build/bazel-lib/blob/main/docs/copy_directory.md) and
# [rules_js](https://github.com/aspect-build/rules_js) since npm package are source directories
# inputs to copy_directory actions.
# Docs: https://bazel.build/reference/command-line-reference#flag--host_jvm_args
startup --host_jvm_args=-DBAZEL_TRACK_SOURCE_DIRECTORIES=1

## GraalVM toolchain
build --extra_toolchains=@graalvm//:bootstrap_runtime_toolchain

## GraalVM versions
common --tool_java_runtime_version=graalvm_21
common --tool_java_language_version=21

common --java_runtime_version=graalvm_21
common --java_language_version=21

## Rust
startup --windows_enable_symlinks
build --enable_runfiles

## Allow local overrides of bazel configuration
try-import %workspace%/.bazelrc.local
1 change: 1 addition & 0 deletions .bazelversion
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
7.2.1
15 changes: 4 additions & 11 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,11 @@
target-dir = "target/rust/"
rustflags = ["--cfg", "tokio_unstable"]

[target.wasm32-unknown-unknown]
rustflags = [
# Increas the stack size from 1MB to 2MB. This is required to avoid running out of stack space
# in debug builds. The error is reported as `RuntimeError: memory access out of bounds`.
"-C",
"link-args=-z stack-size=2097152",
]

[target.x86_64-pc-windows-msvc]
linker = "rust-lld"
# Static linking is required to avoid the need for the Visual C++ Redistributable. We care about this primarily for our
# installer binary package.
rustflags = ["-C", "link-arg=/STACK:2097152", "-C", "target-feature=+crt-static"]
rustflags = ["-C", "target-feature=+crt-static"]

[target.x86_64-pc-windows-gnu]
rustflags = ["-C", "link-arg=-Wl,--stack,2097152"]
[target.x86_64-unknown-linux-gnu]
rustflags = ["-Clink-arg=-fuse-ld=lld"]
50 changes: 50 additions & 0 deletions .github/workflows/bazel-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Bazel build
on:
push:
branches:
- develop
pull_request: {}
jobs:
build-gui:
name: Run bazel GUI build
# if: github.ref != 'refs/heads/develop'
runs-on:
- ubuntu-latest
steps:
- uses: bazel-contrib/[email protected]
with:
bazelisk-cache: true
disk-cache: true
repository-cache: true
- uses: actions/checkout@v4
- name: Expose env variables
run: |
cat << END > app/gui/.env.production
ENSO_IDE_ENVIRONMENT="${{ vars.ENSO_CLOUD_ENVIRONMENT }}"
ENSO_IDE_API_URL="${{ vars.ENSO_CLOUD_API_URL }}"
ENSO_IDE_CHAT_URL="${{ vars.ENSO_CLOUD_CHAT_URL }}"
ENSO_IDE_COGNITO_DOMAIN="${{ vars.ENSO_CLOUD_COGNITO_DOMAIN }}"
ENSO_IDE_COGNITO_REGION="${{ vars.ENSO_CLOUD_COGNITO_REGION }}"
ENSO_IDE_COGNITO_USER_POOL_ID="${{ vars.ENSO_CLOUD_COGNITO_USER_POOL_ID }}"
ENSO_IDE_COGNITO_USER_POOL_WEB_CLIENT_ID="${{ vars.ENSO_CLOUD_COGNITO_USER_POOL_WEB_CLIENT_ID }}"
ENSO_IDE_GOOGLE_ANALYTICS_TAG="${{ vars.ENSO_CLOUD_GOOGLE_ANALYTICS_TAG }}"
ENSO_IDE_SENTRY_DSN="${{ vars.ENSO_CLOUD_SENTRY_DSN }}"
ENSO_IDE_STRIPE_KEY="${{ vars.ENSO_CLOUD_STRIPE_KEY }}"
ENSO_IDE_AG_GRID_LICENSE_KEY="${{ vars.ENSO_AG_GRID_LICENSE_KEY }}"
ENSO_IDE_MAPBOX_API_TOKEN="${{ vars.ENSO_MAPBOX_API_TOKEN }}"
ENSO_IDE_COMMIT_HASH="${{ github.sha }}"
ENSO_IDE_VERSION="SNAPSHOT-${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}"
ENSO_IDE_CLOUD_BUILD="false"
END
- run: bazel build //app/gui:dist
- name: Get build output location
id: get_bazel_output
run: |
OUTPUT_SYMLINK=$(bazel cquery --output=files //app/gui:dist)
BAZEL_OUTPUT=$(readlink -f "$OUTPUT_SYMLINK")
echo "location=$BAZEL_OUTPUT" >> $GITHUB_OUTPUT
- uses: actions/upload-artifact@v4
with:
name: gui-static
path: ${{ steps.get_bazel_output.outputs.location }}
if-no-files-found: error
7 changes: 7 additions & 0 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ jobs:
runs-on:
- X64
steps:
- name: Setup bazel environment
uses: bazel-contrib/setup-bazel@09f3a72d13a081857b0ee94e986ffa84caef7c85
with:
bazelisk-cache: true
disk-cache: true
output-base: ${{ runner.os == 'Windows' && 'c:/_bazel' || '' }}
repository-cache: true
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')
name: Installing wasm-pack
uses: jetli/[email protected]
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/engine-benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ jobs:
runs-on:
- benchmark
steps:
- name: Setup bazel environment
uses: bazel-contrib/setup-bazel@09f3a72d13a081857b0ee94e986ffa84caef7c85
with:
bazelisk-cache: true
disk-cache: true
output-base: ${{ runner.os == 'Windows' && 'c:/_bazel' || '' }}
repository-cache: true
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')
name: Installing wasm-pack
uses: jetli/[email protected]
Expand Down
105 changes: 105 additions & 0 deletions .github/workflows/engine-checks-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ jobs:
- self-hosted
- Linux
steps:
- name: Setup bazel environment
uses: bazel-contrib/setup-bazel@09f3a72d13a081857b0ee94e986ffa84caef7c85
with:
bazelisk-cache: true
disk-cache: true
output-base: ${{ runner.os == 'Windows' && 'c:/_bazel' || '' }}
repository-cache: true
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')
name: Installing wasm-pack
uses: jetli/[email protected]
Expand Down Expand Up @@ -65,6 +72,13 @@ jobs:
- macOS
- ARM64
steps:
- name: Setup bazel environment
uses: bazel-contrib/setup-bazel@09f3a72d13a081857b0ee94e986ffa84caef7c85
with:
bazelisk-cache: true
disk-cache: true
output-base: ${{ runner.os == 'Windows' && 'c:/_bazel' || '' }}
repository-cache: true
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')
name: Installing wasm-pack
uses: jetli/[email protected]
Expand Down Expand Up @@ -109,6 +123,13 @@ jobs:
runs-on:
- macos-13
steps:
- name: Setup bazel environment
uses: bazel-contrib/setup-bazel@09f3a72d13a081857b0ee94e986ffa84caef7c85
with:
bazelisk-cache: true
disk-cache: true
output-base: ${{ runner.os == 'Windows' && 'c:/_bazel' || '' }}
repository-cache: true
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')
name: Installing wasm-pack
uses: jetli/[email protected]
Expand Down Expand Up @@ -154,6 +175,13 @@ jobs:
- self-hosted
- Windows
steps:
- name: Setup bazel environment
uses: bazel-contrib/setup-bazel@09f3a72d13a081857b0ee94e986ffa84caef7c85
with:
bazelisk-cache: true
disk-cache: true
output-base: ${{ runner.os == 'Windows' && 'c:/_bazel' || '' }}
repository-cache: true
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')
name: Installing wasm-pack
uses: jetli/[email protected]
Expand Down Expand Up @@ -199,6 +227,13 @@ jobs:
- self-hosted
- Linux
steps:
- name: Setup bazel environment
uses: bazel-contrib/setup-bazel@09f3a72d13a081857b0ee94e986ffa84caef7c85
with:
bazelisk-cache: true
disk-cache: true
output-base: ${{ runner.os == 'Windows' && 'c:/_bazel' || '' }}
repository-cache: true
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')
name: Installing wasm-pack
uses: jetli/[email protected]
Expand Down Expand Up @@ -244,6 +279,13 @@ jobs:
- self-hosted
- Linux
steps:
- name: Setup bazel environment
uses: bazel-contrib/setup-bazel@09f3a72d13a081857b0ee94e986ffa84caef7c85
with:
bazelisk-cache: true
disk-cache: true
output-base: ${{ runner.os == 'Windows' && 'c:/_bazel' || '' }}
repository-cache: true
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')
name: Installing wasm-pack
uses: jetli/[email protected]
Expand Down Expand Up @@ -301,6 +343,13 @@ jobs:
- macOS
- ARM64
steps:
- name: Setup bazel environment
uses: bazel-contrib/setup-bazel@09f3a72d13a081857b0ee94e986ffa84caef7c85
with:
bazelisk-cache: true
disk-cache: true
output-base: ${{ runner.os == 'Windows' && 'c:/_bazel' || '' }}
repository-cache: true
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')
name: Installing wasm-pack
uses: jetli/[email protected]
Expand Down Expand Up @@ -356,6 +405,13 @@ jobs:
runs-on:
- macos-13
steps:
- name: Setup bazel environment
uses: bazel-contrib/setup-bazel@09f3a72d13a081857b0ee94e986ffa84caef7c85
with:
bazelisk-cache: true
disk-cache: true
output-base: ${{ runner.os == 'Windows' && 'c:/_bazel' || '' }}
repository-cache: true
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')
name: Installing wasm-pack
uses: jetli/[email protected]
Expand Down Expand Up @@ -412,6 +468,13 @@ jobs:
- self-hosted
- Windows
steps:
- name: Setup bazel environment
uses: bazel-contrib/setup-bazel@09f3a72d13a081857b0ee94e986ffa84caef7c85
with:
bazelisk-cache: true
disk-cache: true
output-base: ${{ runner.os == 'Windows' && 'c:/_bazel' || '' }}
repository-cache: true
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')
name: Installing wasm-pack
uses: jetli/[email protected]
Expand Down Expand Up @@ -468,6 +531,13 @@ jobs:
- self-hosted
- Linux
steps:
- name: Setup bazel environment
uses: bazel-contrib/setup-bazel@09f3a72d13a081857b0ee94e986ffa84caef7c85
with:
bazelisk-cache: true
disk-cache: true
output-base: ${{ runner.os == 'Windows' && 'c:/_bazel' || '' }}
repository-cache: true
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')
name: Installing wasm-pack
uses: jetli/[email protected]
Expand Down Expand Up @@ -524,6 +594,13 @@ jobs:
- self-hosted
- Linux
steps:
- name: Setup bazel environment
uses: bazel-contrib/setup-bazel@09f3a72d13a081857b0ee94e986ffa84caef7c85
with:
bazelisk-cache: true
disk-cache: true
output-base: ${{ runner.os == 'Windows' && 'c:/_bazel' || '' }}
repository-cache: true
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')
name: Installing wasm-pack
uses: jetli/[email protected]
Expand Down Expand Up @@ -584,6 +661,13 @@ jobs:
- macOS
- ARM64
steps:
- name: Setup bazel environment
uses: bazel-contrib/setup-bazel@09f3a72d13a081857b0ee94e986ffa84caef7c85
with:
bazelisk-cache: true
disk-cache: true
output-base: ${{ runner.os == 'Windows' && 'c:/_bazel' || '' }}
repository-cache: true
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')
name: Installing wasm-pack
uses: jetli/[email protected]
Expand Down Expand Up @@ -642,6 +726,13 @@ jobs:
runs-on:
- macos-13
steps:
- name: Setup bazel environment
uses: bazel-contrib/setup-bazel@09f3a72d13a081857b0ee94e986ffa84caef7c85
with:
bazelisk-cache: true
disk-cache: true
output-base: ${{ runner.os == 'Windows' && 'c:/_bazel' || '' }}
repository-cache: true
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')
name: Installing wasm-pack
uses: jetli/[email protected]
Expand Down Expand Up @@ -701,6 +792,13 @@ jobs:
- self-hosted
- Windows
steps:
- name: Setup bazel environment
uses: bazel-contrib/setup-bazel@09f3a72d13a081857b0ee94e986ffa84caef7c85
with:
bazelisk-cache: true
disk-cache: true
output-base: ${{ runner.os == 'Windows' && 'c:/_bazel' || '' }}
repository-cache: true
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')
name: Installing wasm-pack
uses: jetli/[email protected]
Expand Down Expand Up @@ -760,6 +858,13 @@ jobs:
- self-hosted
- Linux
steps:
- name: Setup bazel environment
uses: bazel-contrib/setup-bazel@09f3a72d13a081857b0ee94e986ffa84caef7c85
with:
bazelisk-cache: true
disk-cache: true
output-base: ${{ runner.os == 'Windows' && 'c:/_bazel' || '' }}
repository-cache: true
- if: startsWith(runner.name, 'GitHub Actions') || startsWith(runner.name, 'Hosted Agent')
name: Installing wasm-pack
uses: jetli/[email protected]
Expand Down
Loading
Loading