kratactl: fix windows build

This commit is contained in:
Alex Zenla 2024-03-21 20:04:10 -07:00
parent 87689067a3
commit 901ec3b6e5
No known key found for this signature in database
GPG Key ID: 067B238899B51269
7 changed files with 5 additions and 10 deletions

View File

@ -31,12 +31,7 @@ jobs:
with:
targets: "${{ matrix.arch }}-apple-darwin"
if: ${{ matrix.os.name == 'darwin' }}
- run: ./hack/ci/install-deps.sh
if: ${{ matrix.os.name == 'linux' }}
- uses: homebrew/actions/setup-homebrew@master
if: ${{ matrix.os.name == 'darwin' }}
- run: ./hack/ci/install-mac-deps.sh
if: ${{ matrix.os.name == 'darwin' }}
- run: ./hack/ci/install-windows-deps.sh
if: ${{ matrix.os.name == 'windows' }}
- run: ./hack/ci/install-${{ matrix.os.name }}-deps.sh
- run: ./hack/build/cargo.sh build --bin kratactl

View File

@ -22,7 +22,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: ./hack/ci/install-deps.sh
- run: ./hack/ci/install-linux-deps.sh
- run: ./hack/kernel/build.sh
env:
KRATA_KERNEL_BUILD_JOBS: "5"

View File

@ -19,7 +19,7 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
with:
targets: "${{ matrix.arch }}-unknown-linux-gnu,${{ matrix.arch }}-unknown-linux-musl"
- run: ./hack/ci/install-deps.sh
- run: ./hack/ci/install-linux-deps.sh
- run: ./hack/dist/bundle.sh
env:
KRATA_KERNEL_BUILD_JOBS: "5"

View File

@ -26,7 +26,7 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
with:
targets: "${{ matrix.arch }}-unknown-linux-gnu,${{ matrix.arch }}-unknown-linux-musl"
- run: ./hack/ci/install-deps.sh
- run: ./hack/ci/install-linux-deps.sh
- run: ./hack/os/build.sh
env:
KRATA_KERNEL_BUILD_JOBS: "5"

View File

@ -1,4 +1,4 @@
#!/bin/sh
set -e
winget install protobuf
choco install protoc