Commit 89bac7b5f8
Unsigned
Layout: unified · split
.github/dependabot.yml +5
| @@ -9,3 +9,8 @@ updates: | |||
| 9 | directory: "/" # Location of package manifests | 9 | directory: "/" # Location of package manifests |
| 10 | schedule: | 10 | schedule: |
| 11 | interval: "weekly" | 11 | interval: "weekly" |
| 12 | |||
| 13 | - package-ecosystem: "github-actions" | ||
| 14 | directory: "/" | ||
| 15 | schedule: | ||
| 16 | interval: "weekly" | ||
.github/workflows/test.yml added +39
| @@ -0,0 +1,39 @@ | |||
| 1 | name: test | ||
| 2 | |||
| 3 | on: | ||
| 4 | pull_request: | ||
| 5 | push: | ||
| 6 | branches: [main] | ||
| 7 | |||
| 8 | concurrency: | ||
| 9 | group: test-${{ github.ref }} | ||
| 10 | cancel-in-progress: true | ||
| 11 | |||
| 12 | jobs: | ||
| 13 | test: | ||
| 14 | runs-on: macos-15 | ||
| 15 | steps: | ||
| 16 | - uses: actions/checkout@v4 | ||
| 17 | |||
| 18 | # The runner defaults to Xcode 16.4, whose strict-concurrency checking | ||
| 19 | # rejects SecurityEventStore's async-let fetches. Pin to the newest | ||
| 20 | # Xcode on the image. | ||
| 21 | - name: Select Xcode | ||
| 22 | run: sudo xcode-select -s /Applications/Xcode_26.1.app | ||
| 23 | |||
| 24 | - name: Show toolchain | ||
| 25 | run: xcodebuild -version | ||
| 26 | |||
| 27 | # Ad-hoc signing: the runner has no Developer ID certificate, and the | ||
| 28 | # app's sandbox/hardened-runtime entitlements need a signature to be | ||
| 29 | # applied at all. Building fully unsigned makes the UI tests fail to | ||
| 30 | # launch the app. | ||
| 31 | - name: Test | ||
| 32 | run: | | ||
| 33 | xcodebuild test \ | ||
| 34 | -scheme octosentry \ | ||
| 35 | -destination 'platform=macOS' \ | ||
| 36 | CODE_SIGN_IDENTITY="-" \ | ||
| 37 | CODE_SIGN_STYLE=Manual \ | ||
| 38 | DEVELOPMENT_TEAM="" \ | ||
| 39 | PROVISIONING_PROFILE_SPECIFIER="" | ||