From 4771c5a5b5fe088eeb46a54c7056635c89d2d372 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 | 20 ++++++++++++++++++++ 1 file changed, 20 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 0000000000..f634fadb56 --- /dev/null +++ b/.github/workflows/tests.yml @@ -0,0 +1,20 @@ +name: Tests +on: [push, pull_request] + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + submodules: true + - 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