-
Notifications
You must be signed in to change notification settings - Fork 180
40 lines (40 loc) · 1.14 KB
/
macbuild.yml
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
32
33
34
35
36
37
38
39
40
name: Build for Mac
on: [ push, pull_request ]
jobs:
build_mac:
name: CI for macOS
runs-on: macos-latest
steps:
- name: Checkout for macOS
uses: actions/checkout@v4
with:
submodules: true
- name: Select Xcode version
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '15'
- name: Build for macOS
run: TRAVIS_OS_NAME=osx travis/build.sh
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action/macos@v2
if: always()
with:
files: |
osx/build/reports/junit.xml
- name: Upload for macOS
env:
gh_ed25519_key: ${{ secrets.GH_ENCRYPTED_ED25519_KEY }}
gh_ed25519_iv: ${{ secrets.GH_ENCRYPTED_ED25519_IV }}
run: TRAVIS_OS_NAME=osx travis/upload.sh
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: deadbeef-macos-universal
path: osx/build/Release/*.zip
if-no-files-found: error
- name: Upload logs
uses: actions/upload-artifact@v4
with:
name: build-logs
path: osx/build/Release/*.log
if-no-files-found: warn