ci: enable shared-glapi #10
This file contains 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 iOS | |
on: | |
[push, pull_request] | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build iOS | |
run: | | |
ln -s vulkan_ios.pc vulkan.pc | |
brew install meson pkg-config libclc bison expat | |
pip3 install mako | |
# git clone --depth 1 https://gitlab.freedesktop.org/mesa/drm.git | |
# cd drm | |
# meson setup "build-ios-drm" \ | |
# --prefix=/tmp/drm-static \ | |
# --cross-file "../ios-drm-aarch64" \ | |
# -Ddefault_library=static \ | |
# -Dintel=disabled \ | |
# -Dradeon=disabled \ | |
# -Damdgpu=disabled \ | |
# -Dnouveau=disabled \ | |
# -Dvmwgfx=disabled \ | |
# -Dfreedreno=enabled \ | |
# -Dvc4=disabled \ | |
# -Detnaviv=disabled | |
# ninja -C "build-ios-drm" install | |
meson setup "build-ios-aarch64" \ | |
--prefix=/tmp/asahi \ | |
--cross-file "ios-aarch64" \ | |
-Db_lundef=false \ | |
-Dllvm=disabled \ | |
-Dxlib-lease=disabled \ | |
-Degl=disabled \ | |
-Dgbm=disabled \ | |
-Dglx=dri \ | |
-Dopengl=true \ | |
-Dosmesa=true \ | |
-Dvulkan-drivers= \ | |
-Dgallium-drivers=swrast,asahi \ | |
-Dbuildtype=release \ | |
-Dtools=asahi \ | |
-Dmicrosoft-clc=disabled \ | |
-Dxmlconfig=disabled | |
ninja -C "build-ios-aarch64" install | |
cp -r build-ios-aarch64/src/gallium/drivers/asahi /tmp/ | |
- name: Upload libraries | |
uses: actions/upload-artifact@v2 | |
with: | |
name: libOSMesa | |
path: /tmp/asahi |