This repository was archived by the owner on Jan 27, 2026. It is now read-only.
VERSION: bump for 25.2.0 #230
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: macOS-CI | |
| on: push | |
| permissions: | |
| contents: read | |
| jobs: | |
| macOS-CI: | |
| strategy: | |
| matrix: | |
| glx_option: ['dri', 'xlib'] | |
| runs-on: macos-11 | |
| env: | |
| GALLIUM_DUMP_CPU: true | |
| MESON_EXEC: /Users/runner/Library/Python/3.11/bin/meson | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| - name: Install Dependencies | |
| run: | | |
| cat > Brewfile <<EOL | |
| brew "bison" | |
| brew "expat" | |
| brew "gettext" | |
| brew "libx11" | |
| brew "libxcb" | |
| brew "libxdamage" | |
| brew "libxext" | |
| brew "molten-vk" | |
| brew "ninja" | |
| brew "pkg-config" | |
| brew "python@3.10" | |
| EOL | |
| brew update | |
| brew bundle --verbose | |
| - name: Install Mako and meson | |
| run: pip3 install --user mako meson | |
| - name: Configure | |
| run: | | |
| cat > native_config <<EOL | |
| [binaries] | |
| llvm-config = '/usr/local/opt/llvm/bin/llvm-config' | |
| EOL | |
| $MESON_EXEC . build --native-file=native_config -Dmoltenvk-dir=$(brew --prefix molten-vk) -Dbuild-tests=true -Dgallium-drivers=swrast,zink -Dglx=${{ matrix.glx_option }} | |
| - name: Build | |
| run: $MESON_EXEC compile -C build | |
| - name: Test | |
| run: $MESON_EXEC test -C build --print-errorlogs | |
| - name: Install | |
| run: $MESON_EXEC install -C build --destdir $PWD/install | |
| - name: 'Upload Artifact' | |
| if: always() | |
| uses: actions/upload-artifact@v3 | |
| with: | |
| name: macos-${{ matrix.glx_option }}-result | |
| path: | | |
| build/meson-logs/ | |
| install/ | |
| retention-days: 5 |