Publish test results from github actions #892
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |