-
Notifications
You must be signed in to change notification settings - Fork 1
31 lines (31 loc) · 958 Bytes
/
build-app.yaml
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: build-app
on:
push:
workflow_call:
inputs:
disable_sccache:
required: false
type: boolean
jobs:
build:
runs-on: macos-13
steps:
- name: Run sccache-cache unless disabled
if: inputs.disable_sccache != true
uses: mozilla-actions/[email protected]
- name: Configure sccache
if: inputs.disable_sccache != true
run: |
echo "SCCACHE_GHA_ENABLED=true" >> $GITHUB_ENV
echo "TES3MP_MAC_USE_SCCACHE=1" >> $GITHUB_ENV
- name: Select Xcode 15
run: sudo xcode-select -s '/Applications/Xcode_15.0.1.app/Contents/Developer'
- uses: actions/checkout@v4
- run: brew install coreutils create-dmg gnu-sed meson nasm ninja patchutils python-setuptools
- name: Build
run: ./build.sh
- name: Save .dmg as an artifact
uses: actions/upload-artifact@v4
with:
name: release
path: "*.dmg"