Skip to content

Commit

Permalink
Update ump-scl-ios.yml
Browse files Browse the repository at this point in the history
hmmm
  • Loading branch information
SolDev69 authored Apr 13, 2024
1 parent 5346a36 commit e9e8fa1
Showing 1 changed file with 19 additions and 39 deletions.
58 changes: 19 additions & 39 deletions .github/workflows/ump-scl-ios.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,23 @@
name: Build iOS

on:
[push, pull_request, workflow_dispatch]
workflow_dispatch:

push:

jobs:
build:
extract:
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 pkg-config bison flex ninja meson libclc cmake xorgproto libxfixes tree vulkan-tools
brew install llvm
brew install meson
brew install libclc
brew install xorgproto libxfixes
brew install vulkan-tools
brew install --only-dependencies mesa
- name: Setup Python
uses: actions/setup-python@v5
with:
Expand All @@ -34,36 +27,23 @@ jobs:
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: 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
meson setup build -Dgallium-drivers=zink,swrast -Dosmesa=true -Dvulkan-drivers= --prefix=/tmp/ump -Dmoltenvk-dir=/usr/local/Cellar/molten-vk/1.2.7
pwd
ls
tree
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"
- name: "Upload installed mesa"
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.directory }}-built
path: export/
name: built
path: /tmp/ump

0 comments on commit e9e8fa1

Please sign in to comment.