Change app category to Travel #23
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: Build and test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
ios-debug-build: | |
name: Build iOS app in Debug config | |
runs-on: macos-13 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install fastlane | |
run: | | |
brew install fastlane | |
- name: Switch to Xcode 14.3 | |
run: | | |
sudo xcode-select -s /Applications/Xcode_14.3.app | |
- name: Decode GoogleService-Info.plist | |
run: | | |
echo ${{ secrets.GOOGLE_PLIST_CONTENT_B64 }} | base64 --decode > "${GITHUB_WORKSPACE}/BDZDelays/GoogleService-Info.plist" | |
- name: Build iOS app (debug config) | |
run: | | |
fastlane ios build_app_debug | |
mac-debug-build: | |
name: Build macOS app in Debug config | |
runs-on: macos-13 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install fastlane | |
run: | | |
brew install fastlane | |
- name: Switch to Xcode 14.3 | |
run: | | |
sudo xcode-select -s /Applications/Xcode_14.3.app | |
- name: Decode GoogleService-Info.plist | |
run: | | |
echo ${{ secrets.GOOGLE_PLIST_CONTENT_B64 }} | base64 --decode > "${GITHUB_WORKSPACE}/BDZDelays/GoogleService-Info.plist" | |
- name: Build macOS app (debug config) | |
run: | | |
fastlane mac build_app_debug | |
tests: | |
name: Run all tests | |
runs-on: macos-13 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install fastlane | |
run: | | |
brew install fastlane | |
- name: Switch to Xcode 14.3 | |
run: | | |
sudo xcode-select -s /Applications/Xcode_14.3.app | |
- name: Run tests | |
run: | | |
fastlane tests | |