Bump rexml from 3.2.6 to 3.2.8 #94
Workflow file for this run
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: CI | |
on: | |
pull_request: | |
branches: | |
- develop | |
jobs: | |
tests-ios: | |
runs-on: macos-11 | |
strategy: | |
matrix: | |
include: # selection of https://github.com/actions/runner-images/blob/main/images/macos/macos-11-Readme.md#installed-sdks | |
- xcode: "13.2.1" | |
ios: "15.2" | |
device: "iPhone 8" | |
- xcode: "12.5.1" | |
ios: "14.5" | |
device: "iPhone 8" | |
if: github.event_name == 'pull_request' # if only run pull request when multiple trigger workflow | |
name: "test ios ${{matrix.ios}}" | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.0' | |
bundler-cache: true | |
- name: pod install | |
run: pod install || pod install --repo-update | |
- name: "Select Xcode ${{matrix.xcode}}" | |
run: sudo xcode-select -switch /Applications/Xcode_${{matrix.xcode}}.app && /usr/bin/xcodebuild -version | |
- name: Run Unit Tests on ${{matrix.ios}} ${{matrix.device}} | |
run: xcodebuild -workspace MatomoTracker.xcworkspace -scheme 'MatomoTracker' -sdk 'iphonesimulator' -destination 'platform=iOS Simulator,name=${{matrix.device}},OS=${{matrix.ios}}' -configuration Debug clean test | |
tests-demo-builds: | |
runs-on: macos-11 | |
strategy: | |
matrix: | |
include: | |
- scheme: "ios" | |
sdk: "iphonesimulator" | |
destination: "platform=iOS Simulator,name=iPhone 8,OS=15.2" | |
- scheme: "macos" | |
sdk: "macosx" | |
destination: "platform=macOS,arch=x86_64" | |
- scheme: "tvos" | |
sdk: "appletvsimulator" | |
destination: "platform=tvOS Simulator,name=Apple TV,OS=15.2" | |
if: github.event_name == 'pull_request' # if only run pull request when multiple trigger workflow | |
name: "test demo build ${{matrix.scheme}}" | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.0' | |
bundler-cache: true | |
- name: pod install | |
run: pod install || pod install --repo-update | |
- name: "Select Xcode 13.2.1" | |
run: sudo xcode-select -switch /Applications/Xcode_13.2.1.app && /usr/bin/xcodebuild -version | |
- name: Build Demo for ${{matrix.scheme}} | |
run: xcodebuild -workspace MatomoTracker.xcworkspace -scheme '${{matrix.scheme}}' -sdk '${{matrix.sdk}}' -destination '${{matrix.destination}}' -configuration Release clean build | |
tests-package-managers: | |
runs-on: macos-11 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: "Select Xcode 11.7" | |
run: sudo xcode-select -switch /Applications/Xcode_13.2.1.app && /usr/bin/xcodebuild -version | |
# Carthage doesn't work well with Matomo anymore | |
# https://github.com/Carthage/Carthage/issues/3146 | |
# - name: "Build Carthage" | |
# run: carthage build --no-skip-current | |
- name: "Test SPM" | |
run: swift build |