Add a step for the project configuration #17
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
--- | |
name: Pull Request | |
on: [push] | |
jobs: | |
# check-quality: | |
# name: "🔎 Check quality" | |
# runs-on: tart | |
# steps: | |
# - name: Checkout code | |
# uses: actions/checkout@v4 | |
# - name: Run the quality check | |
# run: make check-quality | |
# build-documentation: | |
# name: "📚 Build documentation" | |
# runs-on: tart | |
# steps: | |
# - name: Checkout code | |
# uses: actions/checkout@v4 | |
# - name: Build the documentation | |
# run: make doc | |
# tests: | |
# name: "🧪 Tests" | |
# runs-on: tart | |
# strategy: | |
# matrix: | |
# platform: [ios, tvos] | |
# steps: | |
# - name: Checkout code | |
# uses: actions/checkout@v4 | |
# - name: Authorize microphone access for simulator | |
# run: Scripts/bypass-simulator-trampoline.sh | |
# - name: Run tests | |
# run: make test-${{ matrix.platform }} | |
# | |
archive-demos: | |
name: "📦 Archives" | |
runs-on: tart | |
strategy: | |
matrix: | |
platform: [ios, tvos] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Add Apple certificate | |
run: | | |
Scripts/add-apple-certificate.sh \ | |
${{ secrets.SRGSSR_APPLE_DEV_CERTIFICATE_B64 }} | |
- name: Configure environment | |
run: | | |
Scripts/configure-environment.sh \ | |
${{ secrets.APP_STORE_CONNECT_API_KEY_P8 }} \ | |
${{ secrets.APPLE_ACCOUNT_INFO_B64 }} | |
- name: Archive the demo | |
run: make archive-demo-${{ matrix.platform }} |