Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Other images

Other images #36

Workflow file for this run

name: BookieJobs
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4.2.2
- name: Setup Xcode version
uses: maxim-lobanov/setup-xcode@v1.6.0
with:
xcode-version: 16.2
- name: Install Mint
run: brew install mint
- name: Cache Mint modules
id: cache-mint
uses: actions/cache@v4.2.3
env:
cache-name: cache-mint-modules
with:
path: ~/.mint
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/Mintfile') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- if: ${{ steps.cache-mint.outputs.cache-hit != 'true' }}
name: List the state of Mint modules
continue-on-error: true
run: mint list
- name: Folder for swiftgen
run: mkdir Bookie/Generated && touch Bookie/Generated/Strings.swift
- name: Generate Xcode project
run: mint bootstrap && mint run xcodegen
- name: Build and test iOS
run: xcodebuild test -project Bookie.xcodeproj -scheme BookieApp -destination "platform=iOS Simulator,OS=17.0.1,name=iPhone 15"