forked from mirrors/kingfisher
v1.86.0
This commit is contained in:
parent
2527438e25
commit
a0b979d3f8
3 changed files with 34 additions and 26 deletions
26
.github/workflows/ci.yml
vendored
26
.github/workflows/ci.yml
vendored
|
|
@ -40,12 +40,12 @@ jobs:
|
|||
shared-key: kingfisher-${{ runner.os }}-${{ runner.arch }}
|
||||
cache-on-failure: true
|
||||
|
||||
- name: Build (Makefile linux-x64)
|
||||
run: make ubuntu-x64
|
||||
- name: Run tests
|
||||
run: make tests
|
||||
env:
|
||||
CARGO_BUILD_JOBS: 1
|
||||
- name: Build (Makefile linux-x64)
|
||||
run: make ubuntu-x64
|
||||
|
||||
linux-arm64:
|
||||
name: Linux arm64
|
||||
|
|
@ -74,12 +74,12 @@ jobs:
|
|||
shared-key: kingfisher-${{ runner.os }}-${{ runner.arch }}
|
||||
cache-on-failure: true
|
||||
|
||||
- name: Build (Makefile linux-arm64)
|
||||
run: make ubuntu-arm64
|
||||
- name: Run tests
|
||||
run: make tests
|
||||
env:
|
||||
CARGO_BUILD_JOBS: 1
|
||||
- name: Build (Makefile linux-arm64)
|
||||
run: make ubuntu-arm64
|
||||
|
||||
macos-arm64:
|
||||
name: macOS arm64
|
||||
|
|
@ -95,10 +95,10 @@ jobs:
|
|||
with:
|
||||
shared-key: kingfisher-${{ runner.os }}-${{ runner.arch }}
|
||||
cache-on-failure: true
|
||||
- name: Build (Makefile darwin-arm64)
|
||||
run: make darwin-arm64
|
||||
- name: Run tests
|
||||
run: make tests
|
||||
- name: Build (Makefile darwin-arm64)
|
||||
run: make darwin-arm64
|
||||
|
||||
windows:
|
||||
name: Windows ${{ matrix.arch }}
|
||||
|
|
@ -136,9 +136,9 @@ jobs:
|
|||
shared-key: kingfisher-${{ runner.os }}-${{ runner.arch }}
|
||||
cache-on-failure: true
|
||||
|
||||
- name: Build
|
||||
- name: Prepare Windows dependencies
|
||||
shell: msys2 {0}
|
||||
run: make windows-${{ matrix.arch }}
|
||||
run: WINDOWS_ONLY_DEPS=1 make windows-${{ matrix.arch }}
|
||||
|
||||
- name: Run tests
|
||||
shell: msys2 {0}
|
||||
|
|
@ -164,12 +164,12 @@ jobs:
|
|||
fi
|
||||
fi
|
||||
|
||||
if ! command -v cargo-nextest >/dev/null 2>&1; then
|
||||
cargo install --locked cargo-nextest
|
||||
fi
|
||||
echo "▶ cargo test --release --workspace --all-targets --target $target_triple"
|
||||
cargo test --release --workspace --all-targets --target "$target_triple"
|
||||
|
||||
echo "▶ cargo nextest run --release --workspace --all-targets --target $target_triple"
|
||||
cargo nextest run --release --workspace --all-targets --target "$target_triple"
|
||||
- name: Build
|
||||
shell: msys2 {0}
|
||||
run: make windows-${{ matrix.arch }}
|
||||
|
||||
- name: Move artifact to dist
|
||||
shell: bash
|
||||
|
|
|
|||
26
.github/workflows/release.yml
vendored
26
.github/workflows/release.yml
vendored
|
|
@ -49,12 +49,12 @@ jobs:
|
|||
- name: Install packaging tools
|
||||
run: cargo install cargo-deb cargo-generate-rpm
|
||||
|
||||
- name: Build (Makefile linux-arm64)
|
||||
run: make ubuntu-x64
|
||||
- name: Run tests
|
||||
run: make tests
|
||||
env:
|
||||
CARGO_BUILD_JOBS: 1
|
||||
- name: Build (Makefile linux-x64)
|
||||
run: make ubuntu-x64
|
||||
|
||||
- name: Fix permissions
|
||||
run: sudo chown -R $(id -u):$(id -g) target
|
||||
|
|
@ -118,12 +118,12 @@ jobs:
|
|||
- name: Install packaging tools
|
||||
run: cargo install cargo-deb cargo-generate-rpm
|
||||
|
||||
- name: Build (Makefile linux-arm64)
|
||||
run: make ubuntu-arm64
|
||||
- name: Run tests
|
||||
run: make tests
|
||||
env:
|
||||
CARGO_BUILD_JOBS: 1
|
||||
- name: Build (Makefile linux-arm64)
|
||||
run: make ubuntu-arm64
|
||||
|
||||
- name: Fix permissions
|
||||
run: sudo chown -R $(id -u):$(id -g) target
|
||||
|
|
@ -203,10 +203,10 @@ jobs:
|
|||
shared-key: kingfisher-${{ runner.os }}-${{ runner.arch }}
|
||||
cache-on-failure: true
|
||||
|
||||
- name: Build Darwin arm64
|
||||
run: make darwin-arm64
|
||||
- name: Run tests
|
||||
run: make tests
|
||||
- name: Build Darwin arm64
|
||||
run: make darwin-arm64
|
||||
|
||||
- name: Move artifacts to dist
|
||||
shell: bash
|
||||
|
|
@ -254,9 +254,9 @@ jobs:
|
|||
shared-key: kingfisher-${{ runner.os }}-${{ runner.arch }}
|
||||
cache-on-failure: true
|
||||
|
||||
- name: Build
|
||||
- name: Prepare Windows dependencies
|
||||
shell: msys2 {0}
|
||||
run: make windows-${{ matrix.arch }}
|
||||
run: WINDOWS_ONLY_DEPS=1 make windows-${{ matrix.arch }}
|
||||
|
||||
- name: Run tests
|
||||
shell: msys2 {0}
|
||||
|
|
@ -282,12 +282,12 @@ jobs:
|
|||
fi
|
||||
fi
|
||||
|
||||
if ! command -v cargo-nextest >/dev/null 2>&1; then
|
||||
cargo install --locked cargo-nextest
|
||||
fi
|
||||
echo "▶ cargo test --release --workspace --all-targets --target $target_triple"
|
||||
cargo test --release --workspace --all-targets --target "$target_triple"
|
||||
|
||||
echo "▶ cargo nextest run --release --workspace --all-targets --target $target_triple"
|
||||
cargo nextest run --release --workspace --all-targets --target "$target_triple"
|
||||
- name: Build
|
||||
shell: msys2 {0}
|
||||
run: make windows-${{ matrix.arch }}
|
||||
|
||||
- name: Move artifact to dist
|
||||
shell: bash
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue