ci(macos): remove redundant cargo test step from release workflow #218
@@ -71,21 +71,6 @@ jobs:
|
|||||||
test -x "src-tauri/argyll/${{ matrix.platform.binary_dir }}/instlist"
|
test -x "src-tauri/argyll/${{ matrix.platform.binary_dir }}/instlist"
|
||||||
test -x "src-tauri/argyll/${{ matrix.platform.binary_dir }}/targen"
|
test -x "src-tauri/argyll/${{ matrix.platform.binary_dir }}/targen"
|
||||||
|
|
||||||
- name: Run Rust tests
|
|
||||||
shell: bash
|
|
||||||
env:
|
|
||||||
CARGO_INCREMENTAL: "0"
|
|
||||||
CARGO_TARGET_DIR: "${{ runner.temp }}/cargo-target"
|
|
||||||
run: |
|
|
||||||
cd src-tauri
|
|
||||||
if [ "${{ matrix.platform.target }}" = "universal-apple-darwin" ]; then
|
|
||||||
cargo test
|
|
||||||
elif [ "${{ matrix.platform.target }}" = "aarch64-apple-darwin" ] && [ "$(uname -m)" != "arm64" ]; then
|
|
||||||
cargo test --no-run --target ${{ matrix.platform.target }}
|
|
||||||
else
|
|
||||||
cargo test --target ${{ matrix.platform.target }}
|
|
||||||
fi
|
|
||||||
|
|
||||||
- name: Set Release Environment
|
- name: Set Release Environment
|
||||||
id: set_env
|
id: set_env
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|||||||
@@ -163,9 +163,9 @@ The "Preferences" button opens the native macOS `NSPrintPanel` (not CUPS web UI
|
|||||||
- Defaults to `false` ensuring 100% out-of-the-box compatibility with stock upstream ArgyllCMS binaries.
|
- Defaults to `false` ensuring 100% out-of-the-box compatibility with stock upstream ArgyllCMS binaries.
|
||||||
- Subprocess error diagnostics in `chartread.js` capture `lastStderrLine` from `process:stderr`, auto-expanding the Process Output `<details>` panel with the stderr explanation if an unpatched binary rejects `-Y l`.
|
- Subprocess error diagnostics in `chartread.js` capture `lastStderrLine` from `process:stderr`, auto-expanding the Process Output `<details>` panel with the stderr explanation if an unpatched binary rejects `-Y l`.
|
||||||
|
|
||||||
## CI & Cross-Compilation Testing
|
## CI & Cross-Compilation
|
||||||
|
|
||||||
- macOS CI workflow lives in `.gitea/workflows/build-macos.yml`.
|
- Release packaging workflows live under `.gitea/workflows/` (`build-macos.yml`, `build-linux.yml`, `build-windows.yml`).
|
||||||
- On Intel runner hosts, cross-compiling for Apple Silicon (`aarch64-apple-darwin`) must use `cargo test --no-run --target aarch64-apple-darwin`. This validates sidecar packaging, compilation, and link correctness without attempting to execute ARM64 binaries on an Intel CPU (`Bad CPU type in executable (os error 86)`).
|
- Tag release builds focus exclusively on packaging via `npm run tauri build` without redundant debug-profile test compilations.
|
||||||
- Universal and native Intel matrix jobs run and execute full tests natively.
|
- Local/CI cross-compilation test execution for Apple Silicon (`aarch64-apple-darwin`) on Intel hosts must use `cargo test --no-run --target aarch64-apple-darwin` to avoid executing ARM64 binaries on an x86_64 CPU (`Bad CPU type in executable (os error 86)`).
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user