mirror of
https://github.com/libretro/RetroArch
synced 2025-01-01 03:36:35 +00:00
31 lines
677 B
YAML
31 lines
677 B
YAML
name: CI macOS
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: macos-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Compile RA
|
|
run: |
|
|
set -o pipefail
|
|
xcodebuild -workspace pkg/apple/RetroArch.xcworkspace -scheme RetroArch -config Release -xcconfig pkg/apple/GitHubCI.xcconfig -derivedDataPath build | xcpretty --color
|
|
|
|
- name: Get short SHA
|
|
id: slug
|
|
run: echo "sha8=$(echo ${GITHUB_SHA} | cut -c1-8)" >> $GITHUB_OUTPUT
|
|
|
|
- uses: actions/upload-artifact@v3
|
|
with:
|
|
name: RetroArch-${{ steps.slug.outputs.sha8 }}
|
|
path: |
|
|
build/Build/Products/Release
|