diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..4c75fde --- /dev/null +++ b/.github/workflows/ci.yml @@ -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 diff --git a/docs/remote-access.md b/docs/remote-access.md index a7442ef..02a425d 100644 --- a/docs/remote-access.md +++ b/docs/remote-access.md @@ -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 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 - carry over until Eureka says otherwise. - *Untested and unverified: how to bind Sunshine to one interface.* This + carry over until Eureka says otherwise. *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 - 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. Nothing here is to be run from, or opened on, Yggdrasil before that. Option B below is a design only. @@ -239,6 +238,6 @@ so each step's expected outcome is a prediction. ## CI note -The repo has no CI workflow: the only job needed `xcodebuild` on `macos-latest`, and the forge -has no Mac runner, so it could never run. iOS builds are verified by hand until a Mac runner -exists. +`.github/workflows/ci.yml` runs `xcodebuild` on `macos-latest`. The forge's `docker` runner +cannot run Xcode, so that workflow is left as is and does not run on this forge; this doc +change needs no CI.