Skip to content

Commit

Permalink
[antlir][oss] fix ci (#269)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #269

Add a `toolchains//:test` which is now used by things in the prelude
Update the list of disabled tests to reflect the new name

Test Plan: Export to a PR

Reviewed By: sergeyfd

Differential Revision: D66468904

fbshipit-source-id: c9e42f1e58c9e598f19d44386d8ccba58d5116f1
  • Loading branch information
vmagro authored and facebook-github-bot committed Nov 25, 2024
1 parent 7b684d9 commit d20316d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
--disable //antlir/antlir2/test_images/cfg/target_arch/... \
--disable //antlir/antlir2/test_images/package/... \
--disable //antlir/antlir2/testing/tests:booted-image-test-that-should-fail \
--disable //antlir/antlir2/testing/tests:test-sh-booted-requires-units \
--disable //antlir/antlir2/testing/tests:test-sh-boot-requires_units-centos9 \
--disable //antlir/bzl/shape2/... \
--disable //antlir/bzl/tests/shapes/... \
--disable //antlir/rust:gen-modules-bzl-unittest \
Expand Down
6 changes: 6 additions & 0 deletions toolchains/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
# License, Version 2.0 found in the LICENSE-APACHE file in the root directory
# of this source tree.

load("@prelude//tests:test_toolchain.bzl", "noop_test_toolchain")
load("@prelude//toolchains:cxx.bzl", "system_cxx_toolchain")
load("@prelude//toolchains:genrule.bzl", "system_genrule_toolchain")
load("@prelude//toolchains:python.bzl", "system_python_bootstrap_toolchain", "system_python_toolchain")
Expand Down Expand Up @@ -55,3 +56,8 @@ sh_binary(
main = "objcopy",
visibility = ["PUBLIC"],
)

noop_test_toolchain(
name = "test",
visibility = ["PUBLIC"],
)

0 comments on commit d20316d

Please sign in to comment.