Skip to content

Commit

Permalink
[antlir][oss] github actions ci
Browse files Browse the repository at this point in the history
  • Loading branch information
vmagro committed May 7, 2024
1 parent ac2b52c commit 4a64167
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
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: BTRFS-ify antlir2-out
run: |
mkdir antlir2-out
truncate -s 100G ${{ runner.temp }}/image.btrfs
mkfs.btrfs ${{ runner.temp }}/image.btrfs
sudo mount ${{ runner.temp }}/image.btrfs antlir2-out
- name: Build layer with RPMs
run: |
./buck2 build antlir//antlir/antlir2/features/rpm/tests:simple--layer

0 comments on commit 4a64167

Please sign in to comment.