mirror of
https://github.com/edera-dev/krata.git
synced 2025-08-03 13:11:31 +00:00
krata: build kratactl for darwin
This commit is contained in:
8
.github/workflows/check.yml
vendored
8
.github/workflows/check.yml
vendored
@ -10,7 +10,7 @@ jobs:
|
||||
- aarch64
|
||||
env:
|
||||
TARGET_ARCH: "${{ matrix.arch }}"
|
||||
name: cargo build ${{ matrix.arch }}
|
||||
name: build ${{ matrix.arch }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
@ -25,7 +25,7 @@ jobs:
|
||||
- aarch64
|
||||
env:
|
||||
TARGET_ARCH: "${{ matrix.arch }}"
|
||||
name: cargo test ${{ matrix.arch }}
|
||||
name: test ${{ matrix.arch }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
@ -40,7 +40,7 @@ jobs:
|
||||
- aarch64
|
||||
env:
|
||||
TARGET_ARCH: "${{ matrix.arch }}"
|
||||
name: cargo clippy ${{ matrix.arch }}
|
||||
name: clippy ${{ matrix.arch }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
@ -66,7 +66,7 @@ jobs:
|
||||
- run: ./hack/ci/install-deps.sh
|
||||
- run: ./hack/initrd/build.sh
|
||||
fmt:
|
||||
name: cargo fmt
|
||||
name: fmt
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
39
.github/workflows/client.yml
vendored
Normal file
39
.github/workflows/client.yml
vendored
Normal file
@ -0,0 +1,39 @@
|
||||
name: client
|
||||
on: [push, pull_request]
|
||||
jobs:
|
||||
build:
|
||||
strategy:
|
||||
matrix:
|
||||
os:
|
||||
- { name: linux, on: ubuntu-latest }
|
||||
- { name: darwin, on: macos-latest }
|
||||
arch:
|
||||
- x86_64
|
||||
- aarch64
|
||||
env:
|
||||
TARGET_ARCH: "${{ matrix.arch }}"
|
||||
runs-on: "${{ matrix.os.on }}"
|
||||
name: build ${{ matrix.os.name }}-${{ matrix.arch }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- run: ./hack/ci/install-deps.sh
|
||||
- run: ./hack/build/cargo.sh build --bin kratactl
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
os:
|
||||
- { name: linux, on: ubuntu-latest }
|
||||
- { name: darwin, on: macos-latest }
|
||||
arch:
|
||||
- x86_64
|
||||
- aarch64
|
||||
env:
|
||||
TARGET_ARCH: "${{ matrix.arch }}"
|
||||
name: test ${{ matrix.os.name }}-${{ matrix.arch }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: dtolnay/rust-toolchain@stable
|
||||
- run: ./hack/ci/install-deps.sh
|
||||
- run: ./hack/build/cargo.sh test --bin kratactl
|
Reference in New Issue
Block a user