feat: add light and dark theme selectors in appearance settings #585
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: Build (macOS) | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| # Tahoe ships AppleClang 17 | |
| runs-on: depot-macos-26 | |
| name: Build (macOS) | |
| env: | |
| CCACHE_DIR: ${{ github.workspace }}/.ccache | |
| QT_VERSION: 6.11.1 | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Cache Homebrew downloads | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/Library/Caches/Homebrew | |
| key: brew-${{ runner.os }}-${{ hashFiles('scripts/macos-setup.sh') }} | |
| restore-keys: | | |
| brew-${{ runner.os }}- | |
| - name: Cache Qt | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/Qt | |
| key: qt-macos-${{ env.QT_VERSION }} | |
| - name: Install dependencies | |
| run: make mac-deps | |
| - name: Install test framework | |
| run: brew install catch2 | |
| - name: Cache ccache | |
| uses: actions/cache@v4 | |
| with: | |
| path: ${{ github.workspace }}/.ccache | |
| key: ccache-macos-${{ github.sha }} | |
| restore-keys: | | |
| ccache-macos- | |
| - name: Configure CMake | |
| run: | | |
| cmake -S . -B build -G Ninja \ | |
| -DCMAKE_BUILD_TYPE=Release \ | |
| -DBUILD_TESTS=ON \ | |
| -DQT_DIR=$HOME/Qt/$QT_VERSION/macos | |
| - name: Build | |
| run: cmake --build build --parallel $(sysctl -n hw.ncpu) | |
| - name: ccache stats | |
| if: always() | |
| run: ccache --show-stats | |
| - name: Run tests | |
| run: | | |
| ./build/bin/vicinae-glyph-tests | |
| ./build/bin/vicinae-fuzzy-tests | |
| ./build/bin/xdgpp-tests | |
| ./build/bin/scriptcommand-tests |