Add theming, app icon, and Obsidian parity foundations #232
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| check: | |
| name: Check ${{ matrix.target }} | |
| runs-on: ${{ matrix.runner }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - target: x86_64-unknown-linux-gnu | |
| runner: ubuntu-latest | |
| - target: aarch64-unknown-linux-gnu | |
| runner: ubuntu-24.04-arm | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@stable | |
| - name: Install Linux GUI dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y \ | |
| libwebkit2gtk-4.1-dev \ | |
| libgtk-3-dev \ | |
| libglib2.0-dev \ | |
| libxdo-dev \ | |
| libayatana-appindicator3-dev \ | |
| libpipewire-0.3-dev \ | |
| pkg-config \ | |
| cmake | |
| - name: Cargo check (desktop + store + core) | |
| run: cargo check -p flynt-core -p flynt-store -p flynt-app | |
| test: | |
| name: Tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@stable | |
| - name: Install Linux GUI dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y \ | |
| libwebkit2gtk-4.1-dev \ | |
| libgtk-3-dev \ | |
| libglib2.0-dev \ | |
| libxdo-dev \ | |
| libayatana-appindicator3-dev \ | |
| libpipewire-0.3-dev \ | |
| pkg-config \ | |
| cmake | |
| - name: Run tests | |
| run: cargo test -p flynt-core -p flynt-store | |
| check-macos: | |
| name: Check macOS | |
| runs-on: macos-14 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@stable | |
| - name: Cargo check | |
| run: cargo check -p flynt-core -p flynt-store -p flynt-app | |
| nix: | |
| name: Nix flake | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: DeterminateSystems/nix-installer-action@main | |
| - name: Evaluate flake outputs | |
| run: NIXPKGS_ALLOW_UNFREE=1 nix flake show --impure | |
| mobile-readiness: | |
| name: Mobile release readiness | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Check Android scaffold | |
| run: | | |
| test -f crates/flynt-mobile/android/README.md | |
| test -f crates/flynt-mobile/android/AndroidManifest.xml.template | |
| test -f docs/mobile-release-readiness.md | |
| lipstyk: | |
| name: lipstyk | |
| uses: styrene-lab/lipstyk/.github/workflows/lipstyk.yml@main | |
| with: | |
| paths: "crates/" | |
| threshold: 1000 |