Skip to content

chore: move Dockerfile to repo root for Coolify deployment #10

chore: move Dockerfile to repo root for Coolify deployment

chore: move Dockerfile to repo root for Coolify deployment #10

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-and-test:
runs-on: macos-15
steps:
- uses: actions/checkout@v4
- name: Install XcodeGen
run: brew install xcodegen
- name: Generate Xcode project
run: xcodegen generate
- name: Resolve package dependencies
run: |
xcodebuild -resolvePackageDependencies \
-scheme Snapper \
-clonedSourcePackagesDirPath "$RUNNER_TEMP/spm"
- name: Build
run: |
xcodebuild build \
-scheme Snapper \
-destination 'platform=macOS' \
-configuration Debug \
-clonedSourcePackagesDirPath "$RUNNER_TEMP/spm" \
CODE_SIGN_IDENTITY="-" \
CODE_SIGNING_ALLOWED=NO
- name: Test
run: |
xcodebuild test \
-scheme Snapper \
-destination 'platform=macOS' \
-configuration Debug \
-clonedSourcePackagesDirPath "$RUNNER_TEMP/spm" \
CODE_SIGN_IDENTITY="-" \
CODE_SIGNING_ALLOWED=NO