Compare commits
2 changed files with 50 additions and 6 deletions
45
.github/workflows/ci.yml
vendored
Normal file
45
.github/workflows/ci.yml
vendored
Normal file
|
|
@ -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
|
||||||
|
|
@ -35,10 +35,9 @@ below; an option that cannot meet them is out.
|
||||||
- **Starfire's Sunshine host is a yes in principle only if** it is bound to the Wireguard
|
- **Starfire's Sunshine host is a yes in principle only if** it is bound to the Wireguard
|
||||||
interface and paired by Meta, and never exposed (no public or LAN-wide listener, no
|
interface and paired by Meta, and never exposed (no public or LAN-wide listener, no
|
||||||
port forward). These conditions were set when Raven was assumed to be the host; they
|
port forward). These conditions were set when Raven was assumed to be the host; they
|
||||||
carry over until Eureka says otherwise.
|
carry over until Eureka says otherwise. *Untested and unverified: how to bind Sunshine to one interface. This
|
||||||
*Untested and unverified: how to bind Sunshine to one interface.* This
|
|
||||||
doc has not found a Sunshine setting for it; check the Sunshine configuration page and
|
doc has not found a Sunshine setting for it; check the Sunshine configuration page and
|
||||||
the host firewall before relying on either.
|
the host firewall before relying on either.*
|
||||||
- **Minds get no access to the iPad** until Meta gives its Yggdrasil address and says yes.
|
- **Minds get no access to the iPad** until Meta gives its Yggdrasil address and says yes.
|
||||||
Nothing here is to be run from, or opened on, Yggdrasil before that. Option B below is
|
Nothing here is to be run from, or opened on, Yggdrasil before that. Option B below is
|
||||||
a design only.
|
a design only.
|
||||||
|
|
@ -239,6 +238,6 @@ so each step's expected outcome is a prediction.
|
||||||
|
|
||||||
## CI note
|
## CI note
|
||||||
|
|
||||||
The repo has no CI workflow: the only job needed `xcodebuild` on `macos-latest`, and the forge
|
`.github/workflows/ci.yml` runs `xcodebuild` on `macos-latest`. The forge's `docker` runner
|
||||||
has no Mac runner, so it could never run. iOS builds are verified by hand until a Mac runner
|
cannot run Xcode, so that workflow is left as is and does not run on this forge; this doc
|
||||||
exists.
|
change needs no CI.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue