mirror of
https://github.com/pvrzz/atmosphere.git
synced 2026-11-29 05:22:26 +00:00
b8fde58a65
- Atmosphere is now Windows-only: macOS and Linux code, bundle settings and CI are removed - Releases build as drafts and publish once the build succeeds; failing tests show as error notes - Every release lists its Windows downloads and warns that the app isn't code-signed yet, so SmartScreen or antivirus may flag it - Library tests no longer share one data folder at the same time - Discord: the song's cover (Deezer, then Apple Music) as the big image with the logo as a badge; built-in app ID; invite cover in the image kit; clearer status setting - Dialogs, menus and popovers stay inside the window and scroll instead of running off screen - Expandable settings rows show a chevron - Band names with & stay one artist unless both names are already separate artists
50 lines
1.4 KiB
YAML
50 lines
1.4 KiB
YAML
# atmosphere · build.yml · CI: runs the tests and builds the Windows installers and portable app.
|
|
name: build
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: windows-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: dtolnay/rust-toolchain@stable
|
|
|
|
- uses: Swatinem/rust-cache@v2
|
|
|
|
- name: Tests
|
|
shell: bash
|
|
run: |
|
|
set -o pipefail
|
|
if ! cargo test --locked 2>&1 | tee test.log; then
|
|
grep -E "^---- |panicked at|^ left|^ right|error(\[E[0-9]+\])?:" test.log | head -40 | while IFS= read -r line; do echo "::error title=Test failure::$line"; done
|
|
exit 1
|
|
fi
|
|
|
|
- name: Install Tauri CLI
|
|
run: cargo install tauri-cli --version "^2" --locked
|
|
|
|
- name: Build installers
|
|
shell: bash
|
|
run: cargo tauri build --config '{"bundle":{"createUpdaterArtifacts":false}}'
|
|
|
|
- name: Portable executable
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: atmosphere-portable-windows-x64
|
|
path: target/release/atmosphere.exe
|
|
if-no-files-found: error
|
|
|
|
- uses: actions/upload-artifact@v4
|
|
with:
|
|
name: atmosphere-windows-x64
|
|
path: |
|
|
target/release/bundle/**/*.msi
|
|
target/release/bundle/**/*.exe
|
|
if-no-files-found: error
|