-
Notifications
You must be signed in to change notification settings - Fork 327
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into dependabot/npm_and_yarn/tools/simple-libr…
…ary-server/multi-6bc014718a
- Loading branch information
Showing
1,880 changed files
with
73,695 additions
and
32,613 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# 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_use_plus_in_repo_names | ||
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 | ||
build --@rules_rust//rust/toolchain/channel=nightly | ||
|
||
## Allow local overrides of bazel configuration | ||
try-import %workspace%/.bazelrc.local |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
7.4.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,17 @@ jobs: | |
runs-on: | ||
- X64 | ||
steps: | ||
- if: runner.os == 'Windows' | ||
name: Setup required bazel environment | ||
run: "\n\"BAZEL_SH=C:\\Program Files\\Git\\bin\\bash.exe\" >> $env:GITHUB_ENV\n\"BAZEL_VC=C:\\BuildTools\\VC\" >> $env:GITHUB_ENV\n " | ||
shell: pwsh | ||
- 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] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,17 @@ jobs: | |
runs-on: | ||
- benchmark | ||
steps: | ||
- if: runner.os == 'Windows' | ||
name: Setup required bazel environment | ||
run: "\n\"BAZEL_SH=C:\\Program Files\\Git\\bin\\bash.exe\" >> $env:GITHUB_ENV\n\"BAZEL_VC=C:\\BuildTools\\VC\" >> $env:GITHUB_ENV\n " | ||
shell: pwsh | ||
- 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] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# This file is not auto-generated. Feel free to edit it. | ||
|
||
name: Engine Changed Files | ||
|
||
on: | ||
workflow_call: | ||
outputs: | ||
all_changed_files: | ||
description: "Returns all changed files" | ||
value: ${{ jobs.engine-changed-files.outputs.all_changed_files }} | ||
any_changed: | ||
description: "Returns `true` when any of the filenames have changed" | ||
value: ${{ jobs.engine-changed-files.outputs.any_changed }} | ||
|
||
jobs: | ||
engine-changed-files: | ||
runs-on: ubuntu-latest | ||
name: Changed Files | ||
outputs: | ||
all_changed_files: ${{ steps.engine-changed-files.outputs.all_changed_files }} | ||
any_changed: ${{ steps.engine-changed-files.outputs.any_changed }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 2 | ||
- name: Get changed files | ||
id: engine-changed-files | ||
uses: tj-actions/changed-files@v45 | ||
with: | ||
files: | | ||
distribution/** | ||
engine/** | ||
lib/** | ||
project/** | ||
std-bits/** | ||
test/** | ||
build.sbt | ||
.cargo/** | ||
Cargo.lock | ||
Cargo.toml | ||
rust-toolchain.toml | ||
.github/workflows/engine-changed-files.yml | ||
.github/workflows/engine-checks-optional.yml | ||
.github/workflows/engine-checks.yml | ||
.github/workflows/engine-pull-request.yml | ||
- name: List all changed files | ||
env: | ||
ALL_CHANGED_FILES: ${{ steps.engine-changed-files.outputs.all_changed_files }} | ||
run: | | ||
if [[ "${{ steps.engine-changed-files.outputs.any_changed }}" == "true" ]]; then | ||
echo "Files changed:" | ||
fi | ||
for file in ${ALL_CHANGED_FILES}; do | ||
echo "$file" | ||
done |
Oops, something went wrong.