diff --git a/.gitea/NATIVE-CI.md b/.gitea/NATIVE-CI.md deleted file mode 100644 index 6b7f1e9..0000000 --- a/.gitea/NATIVE-CI.md +++ /dev/null @@ -1,17 +0,0 @@ -# Native CI verification - -MetalPOC is a native Apple project (`MetalPOC.xcodeproj`, generated with XcodeGen). Its native verification is **centralized**: -this repository carries no workflow that selects a host or a runner label. - -- The owner-level `native.yaml` in the KofTwentyTwo CI policy repository dispatches the shared `swift` profile for - `KofTwentyTwo/MetalPOC` with inputs declared centrally (`xcode-build` of the `MetalPOC` scheme, project generated by XcodeGen). -- It runs on pushes to the protected branches, on manual dispatch, and on pull requests opened from a branch of this same - repository. A pull request from a fork never runs on a host: a Linux `fork-deny` job fails it instead. -- This is a **build-only** verification plus a secrets scan. The project declares no unit-test suite, so no test result is - produced or claimed. Hardware, UI and signing checks are out of scope and are not waived by this document. -- The `native-result` check aggregates the native jobs. It fails unless the native build and the secrets scan succeeded, - so a skipped, failed or cancelled native run cannot pass. -- The primary `ci-result` check (source/config lint and secrets scan) continues to run on every pull request. - -Both `ci-result` and `native-result` are required checks for `main`. Changing what runs, where, or with which inputs is -done in the CI policy repository, never in a pull request to this repository. diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml new file mode 100644 index 0000000..32390e4 --- /dev/null +++ b/.gitea/workflows/build.yaml @@ -0,0 +1,13 @@ +name: build +on: + push: + branches: ['**'] + tags: ['v*'] +jobs: + macos: + uses: self:KofTwentyTwo/ci-workflows/.gitea/workflows/macos.yaml@v1 + secrets: inherit + with: + commands: | + xcodegen generate + xcodebuild -quiet -project MetalPOC.xcodeproj -scheme MetalPOC -configuration Debug -destination 'platform=macOS' CODE_SIGNING_ALLOWED=NO build