-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support GitHub action workflow (#12)
* Improve documentation (#1067) * Add method to respond to state changes at the user interface level (#1070) * Add article about resource optimization (#1072) * Add hover support (#1073) * Fix layout glitches during rotation (#1074) * Use pkgx for check-quality target * Add check-quality job * Use pkgx for fastlane target * Remove Gemfiles * Use pkgx for server streams * Use pkgx for tests * Add job for tests * Update xcode version * Uncomment rubocop quality check * Update documentation building * Comment tests * Use pkgx for clean-imports target * Update pre-commit hook * Add script to bypass microphone simulator popup * Update workflow to bypass microphone access popup * Fix bypass-simulator-trampoline.sh * Use pkgx for periphery * Add archive-demos job to the workflow * Use pkgx for demos archiving * Provide a way to decode an encoded Apple certificate * Add a script to configure private stuff * Add a step for the project configuration * Update iPhone used for fastlane * Try to clean gems * Remove gem cleanup * Put back other jobs * Reintroduce Gemfile for fastlane plugins * Prefer using bundle for fastlane * Remove tests * Use pkgx bundle exec for fastlane * Remove xcodes * Run on GitHub runner * Fix archiving with GitHub runners * Put back tests * Display user keychain * Remove log * Remove simulator trampoline step * Remove useless scripts * Add workflow for nightlies * Try using GitHub cache * Use a default value * Update cache paths * Inline steps * Use Commanders Act binaries delivered by SRG SSR mirror * Use recursive wild card for tests cache * Use another path for cache * Fix quality * Remove cache management * Try irgaly/xcode-cache@v1 * Remove cleanup * Revert "Remove cleanup" This reverts commit 81ac46e. * Remove irgaly/xcode-cache@v1 * Split configurations * Revert "Remove tests" This reverts commit 8855d1b. * Try ubuntu-latest for some jobs * Revert "Split configurations" This reverts commit 296e4d5. * Revert "Try ubuntu-latest for some jobs" This reverts commit cee1d62. * Use secrets for ENV variables * Use secrets for ENV variables * Fix quality * Remove useless .env file * Remove Gemfile.lock * Update Gemfile.lock --------- Co-authored-by: Samuel Défago <[email protected]>
- Loading branch information
Showing
30 changed files
with
384 additions
and
180 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
--- | ||
name: Nightlies | ||
|
||
on: # yamllint disable-line rule:truthy | ||
push: | ||
branches: [main] | ||
|
||
jobs: | ||
deliver-demo-nightlies: | ||
name: "🌙 Nightlies" | ||
runs-on: macos-latest | ||
strategy: | ||
matrix: | ||
platform: [ios, tvos] | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Add Apple certificate | ||
run: | | ||
Scripts/add-apple-certificate.sh \ | ||
$RUNNER_TEMP \ | ||
${{ secrets.KEYCHAIN_PASSWORD }} \ | ||
${{ secrets.SRGSSR_APPLE_DEV_CERTIFICATE_B64 }} | ||
- name: Configure environment | ||
run: | | ||
Scripts/configure-environment.sh \ | ||
${{ secrets.APP_STORE_CONNECT_API_KEY }} | ||
- name: Archive the demo | ||
run: | | ||
make deliver-demo-nightly-${{ matrix.platform }} | ||
env: | ||
TEAM_ID: ${{ secrets.TEAM_ID }} | ||
KEY_ID: ${{ secrets.APP_STORE_CONNECT_KEY_ID }} | ||
KEY_ISSUER_ID: ${{ secrets.APP_STORE_CONNECT_KEY_ISSUER_ID }} | ||
TESTFLIGHT_GROUPS: ${{ vars.TESTFLIGHT_GROUPS }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
--- | ||
name: Pull Request | ||
|
||
on: pull_request # yamllint disable-line rule:truthy | ||
|
||
jobs: | ||
check-quality: | ||
name: "🔎 Check quality" | ||
runs-on: macos-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Run the quality check | ||
run: make check-quality | ||
|
||
build-documentation: | ||
name: "📚 Build documentation" | ||
runs-on: macos-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Build the documentation | ||
run: make doc | ||
|
||
tests: | ||
name: "🧪 Tests" | ||
runs-on: macos-latest | ||
strategy: | ||
matrix: | ||
platform: [ios, tvos] | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Run tests | ||
run: make test-${{ matrix.platform }} | ||
|
||
archive-demos: | ||
name: "📦 Archives" | ||
runs-on: macos-latest | ||
strategy: | ||
matrix: | ||
platform: [ios, tvos] | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Add Apple certificate | ||
run: | | ||
Scripts/add-apple-certificate.sh \ | ||
$RUNNER_TEMP \ | ||
${{ secrets.KEYCHAIN_PASSWORD }} \ | ||
${{ secrets.APPLE_DEV_CERTIFICATE }} \ | ||
${{ secrets.APPLE_DEV_CERTIFICATE_PASSWORD }} | ||
- name: Configure environment | ||
run: | | ||
Scripts/configure-environment.sh \ | ||
${{ secrets.APP_STORE_CONNECT_API_KEY }} | ||
- name: Archive the demo | ||
run: make archive-demo-${{ matrix.platform }} | ||
env: | ||
TEAM_ID: ${{ secrets.TEAM_ID }} | ||
KEY_ID: ${{ secrets.APP_STORE_CONNECT_KEY_ID }} | ||
KEY_ISSUER_ID: ${{ secrets.APP_STORE_CONNECT_KEY_ISSUER_ID }} | ||
TESTFLIGHT_GROUPS: ${{ vars.TESTFLIGHT_GROUPS }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.