From c6807021aa3e551cdedc99eeb6db38a0b7599341 Mon Sep 17 00:00:00 2001 From: vmagro Date: Mon, 6 May 2024 10:54:16 -0700 Subject: [PATCH] [antlir][oss] github actions ci --- .github/workflows/tests.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/tests.yml diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml new file mode 100644 index 00000000000..c6040b874ab --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,18 @@ +name: Tests +on: [push, pull_request] + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: facebook/install-dotslash@latest + - uses: dtolnay/rust-toolchain@stable + with: + toolchain: nightly + - name: Validate targets + run: | + ./buck2 audit providers --quiet //... + - name: Build layer with RPMs + run: | + ./buck2 build antlir//antlir/antlir2/features/rpm/tests:simple--layer