mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-10-11 19:14:14 +00:00
Switch to GitHub Actions
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
workflow_dispatch:
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Build (${{ matrix.platform }})
|
||||
runs-on: macos-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
- scheme: Moonlight
|
||||
sdk: iphonesimulator
|
||||
platform: iOS
|
||||
- scheme: Moonlight TV
|
||||
sdk: appletvsimulator
|
||||
platform: tvOS
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v7
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
- name: Download ${{ matrix.platform }} platform
|
||||
run: xcodebuild -downloadPlatform ${{ matrix.platform }}
|
||||
|
||||
- name: Build Debug
|
||||
run: xcodebuild -project Moonlight.xcodeproj -scheme "${{ matrix.scheme }}" -configuration Debug -sdk ${{ matrix.sdk }} clean build
|
||||
|
||||
- name: Build Release
|
||||
run: xcodebuild -project Moonlight.xcodeproj -scheme "${{ matrix.scheme }}" -configuration Release -sdk ${{ matrix.sdk }} clean build
|
||||
@@ -1,6 +1,6 @@
|
||||
# Moonlight iOS/tvOS
|
||||
|
||||
[](https://ci.appveyor.com/project/cgutman/moonlight-ios/branch/master)
|
||||
[](https://github.com/moonlight-stream/moonlight-ios/actions/workflows/ci.yml)
|
||||
|
||||
[Moonlight for iOS/tvOS](https://moonlight-stream.org) is an open source client for [Sunshine](https://github.com/LizardByte/Sunshine) and NVIDIA GameStream. Moonlight for iOS/tvOS allows you to stream your full collection of games and apps from your powerful desktop computer to your iOS device or Apple TV.
|
||||
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
version: 0.0.0.{build}
|
||||
|
||||
clone_depth: 1
|
||||
|
||||
environment:
|
||||
matrix:
|
||||
- APPVEYOR_BUILD_WORKER_IMAGE: macOS-Sonoma
|
||||
SCHEME: Moonlight
|
||||
SDK: iphonesimulator
|
||||
PLATFORM: iOS
|
||||
- APPVEYOR_BUILD_WORKER_IMAGE: macOS-Sonoma
|
||||
SCHEME: Moonlight TV
|
||||
SDK: appletvsimulator
|
||||
PLATFORM: tvOS
|
||||
|
||||
before_build:
|
||||
- 'git submodule update --init --recursive'
|
||||
- sh: 'xcodebuild -downloadPlatform $PLATFORM'
|
||||
|
||||
build_script:
|
||||
- sh: xcodebuild -project Moonlight.xcodeproj -scheme "$SCHEME" -configuration Debug -sdk $SDK clean build
|
||||
- sh: xcodebuild -project Moonlight.xcodeproj -scheme "$SCHEME" -configuration Release -sdk $SDK clean build
|
||||
|
||||
deploy: off
|
||||
Reference in New Issue
Block a user