chessbaseLinux/.github/workflows/ci.yml
Workflow config file is invalid. Please check your config file: yaml: line 34: mapping values are not allowed in this context
vrubelroman 8c3ed18b12 ChessPenguin 0.7.1: updates
The newest release is checked at start; a button next to Settings offers it. The Windows
zip, the AppImage and the Linux archive replace themselves (checksum-checked) and restart;
macOS opens the disk image; packages are downloaded with the command that installs them.
Reviewed by independent tester and designer agents; their findings fixed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 07:55:59 +03:00

45 lines
1.4 KiB
YAML

name: CI
on:
push:
branches: [main]
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
check:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v7
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
- name: System libraries
run: sudo apt-get update && sudo apt-get install -y pkg-config libasound2-dev libxkbcommon-dev libwayland-dev
- run: cargo fmt --all --check
- run: cargo clippy --workspace --all-targets --locked -- -D warnings
- run: cargo test --workspace --locked
windows-build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v7
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- run: cargo build --locked -p chesspenguin
# Self-update: replacing the running executable (the Windows rename scheme).
- run: cargo test --locked -p chesspenguin update::
# Apple Silicon: the build and the app bundle (decision 15).
macos-build:
runs-on: macos-14
steps:
- uses: actions/checkout@v7
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- run: cargo build --release --locked -p chesspenguin
- run: VERSION=0.0.0 packaging/macos/build-app.sh dist
- run: cargo test --locked -p chesspenguin update::