-
Notifications
You must be signed in to change notification settings - Fork 180
37 lines (37 loc) · 1.08 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
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@v2
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/composite@v2
if: always()
with:
junit_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
- name: Upload logs
uses: actions/upload-artifact@v4
with:
name: build-logs
path: osx/build/Release/*.log