mirror of
https://github.com/edera-dev/krata.git
synced 2025-08-03 05:10:55 +00:00
krata: fix darwin builds of kratactl
This commit is contained in:
parent
597a1433b3
commit
55958c514b
6
.github/workflows/client.yml
vendored
6
.github/workflows/client.yml
vendored
@ -18,6 +18,9 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: dtolnay/rust-toolchain@stable
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
- run: ./hack/ci/install-deps.sh
|
- 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
|
- run: ./hack/build/cargo.sh build --bin kratactl
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -36,4 +39,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: dtolnay/rust-toolchain@stable
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
- run: ./hack/ci/install-deps.sh
|
- 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
|
- run: ./hack/build/cargo.sh test --bin kratactl
|
||||||
|
4
hack/ci/install-mac-deps.sh
Executable file
4
hack/ci/install-mac-deps.sh
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
set -e
|
||||||
|
|
||||||
|
brew install protobuf
|
Loading…
Reference in New Issue
Block a user