chore(home-aurelia): remove replaced legacy theme assets #148
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 (Python + Rust) | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| build-and-test: | |
| name: Test on ${{ matrix.os }} (Python ${{ matrix.python-version }}) | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macos-latest] | |
| python-version: ["3.10"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Rust | |
| uses: dtolnay/rust-toolchain@v1 | |
| with: | |
| toolchain: stable | |
| - name: Cache cargo | |
| uses: Swatinem/rust-cache@v2 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install Python dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r requirements.txt | |
| shell: bash | |
| - name: Install OCLP deps (macOS only) | |
| if: matrix.os == 'macos-latest' | |
| run: | | |
| git submodule update --init third_party/OpenCore-Legacy-Patcher || true | |
| pip install wxpython pyobjc | |
| shell: bash | |
| - name: Run Python tests | |
| run: PYTHONPATH=desktop:desktop/src python -m pytest tests/ | |
| shell: bash | |
| - name: Build Rust (compilable crates only) | |
| run: | | |
| cargo build -p phoenix-core -p phoenix-safety -p phoenix-fs-fat32 -p phoenix-bootloader-core -p phoenix-wim || true | |
| case "${{ matrix.os }}" in | |
| ubuntu*) cargo build -p phoenix-host-linux 2>/dev/null || true ;; | |
| macos*) cargo build -p phoenix-host-macos 2>/dev/null || true ;; | |
| esac | |
| shell: bash | |
| - name: Run Rust tests (compilable crates only) | |
| run: | | |
| cargo test -p phoenix-core -p phoenix-safety -p phoenix-fs-fat32 -p phoenix-bootloader-core -p phoenix-wim || true | |
| shell: bash | |