krata: fix darwin builds of kratactl

This commit is contained in:
Alex Zenla
2024-03-21 18:20:02 -07:00
parent 597a1433b3
commit 55958c514b
2 changed files with 10 additions and 0 deletions

View File

@ -18,6 +18,9 @@ jobs:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: ./hack/ci/install-deps.sh
if: ${{ matrix.os.name == 'linux' }}
- run: ./hack/ci/install-mac-deps.sh
if: ${{ matrix.os.name == 'darwin' }}
- run: ./hack/build/cargo.sh build --bin kratactl
test:
runs-on: ubuntu-latest
@ -36,4 +39,7 @@ jobs:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: ./hack/ci/install-deps.sh
if: ${{ matrix.os.name == 'linux' }}
- run: ./hack/ci/install-mac-deps.sh
if: ${{ matrix.os.name == 'darwin' }}
- run: ./hack/build/cargo.sh test --bin kratactl