-
Notifications
You must be signed in to change notification settings - Fork 277
31 lines (29 loc) · 1.08 KB
/
Copy pathbuild-mac.yml
File metadata and controls
31 lines (29 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: macOS CI
on: [push, pull_request]
jobs:
build-mac-os:
name: Build macOS
runs-on: macos-14
strategy:
fail-fast: false
matrix:
configuration: [release, debug]
use-sdl3: ['auto', 'disabled']
steps:
- uses: actions/checkout@v6
- name: Install Dependencies
run: brew install molten-vk vulkan-headers glslang spirv-tools sdl2 sdl3 libvorbis flac opus opusfile flac mpg123 meson
- name: Build vkQuake
run: meson setup build --buildtype=${{ matrix.configuration }} -Ddebug=true -Dstrip=false -Duse_sdl3=${{ matrix.use-sdl3 }} && ninja -C build
- name: Extract debug information and bundle it to .dSYM
run: |
dsymutil build/vkquake -o build/vkquake.dSYM
du -sh build/vkquake build/vkquake.dSYM
dwarfdump --uuid build/vkquake build/vkquake.dSYM
- name: Upload vkQuake
uses: actions/upload-artifact@v7
with:
name: vkQuake archive (${{ matrix.configuration }}${{ matrix.use-sdl3 == 'disabled' && ', SDL2' || '' }})
path: |
build/vkquake
build/vkquake.dSYM