Skip to content

Migrate from Travis CI to GitHub Actions #16

Migrate from Travis CI to GitHub Actions

Migrate from Travis CI to GitHub Actions #16

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- os: macos-15
xcode: "26.2"
destination: "platform=iOS Simulator,name=iPhone 17,OS=26.2"
- os: macos-15
xcode: "16.2"
destination: "platform=iOS Simulator,name=iPhone 16,OS=18.2"
- os: macos-14
xcode: "15.4"
destination: "platform=iOS Simulator,name=iPhone 15,OS=17.5"
steps:
- uses: actions/checkout@v4
- name: Select Xcode
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
- name: Install Tuist
run: |
brew tap tuist/tuist
brew install --formula tuist
- name: Generate Project
run: tuist generate --no-open
- name: Run Tests
run: |
xcodebuild test \
-scheme "Tests" \
-destination "${{ matrix.destination }}" \
-configuration Debug \
CODE_SIGN_IDENTITY="" \
CODE_SIGNING_REQUIRED=NO