Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 13 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,16 @@ jobs:
- run: yarn install --immutable
- run: yarn bazel test -- //...

test-macos:
timeout-minutes: 30
runs-on: macos-latest
steps:
# Because the checkout and setup node action is contained in the dev-infra repo, we must
# checkout the repo to be able to run the action we have created. Other repos will skip
# this step.
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: ./github-actions/npm/checkout-and-setup-node
- uses: ./github-actions/bazel/setup
- run: yarn install --immutable
- run: yarn bazel test --sandbox_writable_path="$HOME/Library/Application Support" --test_tag_filters=macos --build_tests_only -- //...
# macos testing is disabled as we do not have any targets we currently test.
#test-macos:
# timeout-minutes: 30
# runs-on: macos-latest
# steps:
# # Because the checkout and setup node action is contained in the dev-infra repo, we must
# # checkout the repo to be able to run the action we have created. Other repos will skip
# # this step.
# - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
# - uses: ./github-actions/npm/checkout-and-setup-node
# - uses: ./github-actions/bazel/setup
# - run: yarn install --immutable
# - run: yarn bazel test --sandbox_writable_path="$HOME/Library/Application Support" --test_tag_filters=macos --build_tests_only -- //...
25 changes: 13 additions & 12 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,16 @@ jobs:
- run: yarn install --immutable
- run: yarn bazel test -- //...

test-macos:
timeout-minutes: 30
runs-on: macos-latest
steps:
# Because the checkout and setup node action is contained in the dev-infra repo, we must
# checkout the repo to be able to run the action we have created. Other repos will skip
# this step.
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: ./github-actions/npm/checkout-and-setup-node
- uses: ./github-actions/bazel/setup
- run: yarn install --immutable
- run: yarn bazel test --sandbox_writable_path="$HOME/Library/Application Support" --test_tag_filters=macos --build_tests_only -- //...
# macos testing is disabled as we do not have any targets we currently test.
#test-macos:
# timeout-minutes: 30
# runs-on: macos-latest
# steps:
# # Because the checkout and setup node action is contained in the dev-infra repo, we must
# # checkout the repo to be able to run the action we have created. Other repos will skip
# # this step.
# - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
# - uses: ./github-actions/npm/checkout-and-setup-node
# - uses: ./github-actions/bazel/setup
# - run: yarn install --immutable
# - run: yarn bazel test --sandbox_writable_path="$HOME/Library/Application Support" --test_tag_filters=macos --build_tests_only -- //...
19 changes: 15 additions & 4 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ workspace(
name = "devinfra",
)

load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository")
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

# The PKG rules are needed to build tar packages for integration tests. The builtin
Expand Down Expand Up @@ -99,10 +100,6 @@ load("@io_bazel_rules_webtesting//web:repositories.bzl", "web_test_repositories"

web_test_repositories()

load("//bazel/browsers:browser_repositories.bzl", "browser_repositories")

browser_repositories()

load("@build_bazel_rules_nodejs//toolchains/esbuild:esbuild_repositories.bzl", "esbuild_repositories")

esbuild_repositories(
Expand Down Expand Up @@ -166,3 +163,17 @@ esbuild_register_toolchains(
name = "esbuild",
esbuild_version = LATEST_ESBUILD_VERSION,
)

git_repository(
name = "rules_browsers",
commit = "56ef8007ea07cd1916429bca8bb523433b0e9cdc",
remote = "https://github.com/devversion/rules_browsers.git",
)

load("@rules_browsers//setup:step_1.bzl", "rules_browsers_setup_1")

rules_browsers_setup_1()

load("@rules_browsers//setup:step_2.bzl", "rules_browsers_setup_2")

rules_browsers_setup_2()
4 changes: 0 additions & 4 deletions bazel/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,10 @@ filegroup(
"extract_types.bzl",
"filter_outputs.bzl",
"//bazel/api-golden:files",
"//bazel/app-bundling:files",
"//bazel/browsers:files",
"//bazel/constraints:files",
"//bazel/esbuild:files",
"//bazel/git-toolchain:files",
"//bazel/http-server:files",
"//bazel/karma:files",
"//bazel/map-size-tracking:files",
"//bazel/private:files",
"//bazel/remote-execution:files",
"//bazel/spec-bundling:files",
Expand Down
21 changes: 0 additions & 21 deletions bazel/app-bundling/BUILD.bazel

This file was deleted.

21 changes: 0 additions & 21 deletions bazel/app-bundling/brotli-compress.cjs

This file was deleted.

78 changes: 0 additions & 78 deletions bazel/app-bundling/esbuild.config-tmpl.mjs

This file was deleted.

130 changes: 0 additions & 130 deletions bazel/app-bundling/index.bzl

This file was deleted.

12 changes: 0 additions & 12 deletions bazel/app-bundling/terser_config.json

This file was deleted.

Loading