Skip to content

use vulkan sdk (probably not needed) #9

use vulkan sdk (probably not needed)

use vulkan sdk (probably not needed) #9

Workflow file for this run

name: Build iOS
on:
[push, pull_request, workflow_dispatch]
jobs:
build:
runs-on: macos-latest
strategy:
fail-fast: false
max-parallel: 3
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install dependencies
run: |
brew install pkg-config
brew install bison
brew install llvm
brew install meson
brew install libclc
brew install xorgproto libxfixes
brew install vulkan-tools
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install Mako with Python
run: |
python -m pip install --upgrade pip
pip install mako
- name: Prepare Vulkan SDK
uses: humbletim/[email protected]
with:
vulkan-query-version: 1.3.204.0
vulkan-components: Vulkan-Headers, Vulkan-Loader
vulkan-use-cache: false
- name: Build Mesa
run: |
git clone --depth 1 https://github.com/KhronosGroup/MoltenVK
meson setup build -Dgallium-drivers=zink,asahi -Dvulkan-drivers= -Dmoltenvk-dir=${{ env.VULKAN_SDK }} --prefix=`pwd`/export \
-Dopengl=true \
-Dosmesa=true \
-Dxlib-lease=disabled \
-Degl=disabled \
-Dgbm=disabled \
-Dglx=disabled \
-Dbuild_
ninja -C build/ install
- name: Upload meson logs
if: ${{ failure() }}
uses: actions/upload-artifact@v4
with:
name: meson-logs-${{ matrix.directory }}
path: ${{ matrix.directory }}/build/meson-logs/meson-log.txt
- name: "Upload built mesa, ready to be ninja -C build/ install'ed"
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.directory }}-built
path: export/