mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 16:13:40 +00:00
Creating a github CI for macOS
This commit is contained in:
parent
ce49bd6dcc
commit
8c9ee021e7
29
.github/workflows/MacOS.yml
vendored
Normal file
29
.github/workflows/MacOS.yml
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
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: |
|
||||
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
|
12
pkg/apple/GitHubCI.xcconfig
Normal file
12
pkg/apple/GitHubCI.xcconfig
Normal file
@ -0,0 +1,12 @@
|
||||
//
|
||||
// GitLabCI.xcconfig
|
||||
// RetroArch_Metal
|
||||
//
|
||||
//
|
||||
|
||||
// Configuration settings file format documentation can be found at:
|
||||
// https://help.apple.com/xcode/#/dev745c5c974
|
||||
|
||||
#include "Metal.xcconfig"
|
||||
// TODO: this does not produce a usable build as it is not properly signed
|
||||
CODE_SIGN_IDENTITY[sdk=macosx*] = -
|
Loading…
x
Reference in New Issue
Block a user