[CI] xcode 15 #116
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
# GitHub Actions Virtual Environments | |
# https://github.com/actions/virtual-environments/ | |
name: CI | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- '.github/workflows/ci.yml' | |
- 'Package*' | |
- 'Sources/**/*.*' | |
- 'Tests/**/*.*' | |
pull_request: | |
branches: | |
- main | |
env: | |
DEVELOPER_DIR: /Applications/Xcode_15.1.app/Contents/Developer | |
jobs: | |
main: | |
name: Build and Run | |
runs-on: macos-13 | |
steps: | |
- name: git checkout | |
uses: actions/checkout@v4 | |
- name: xcode version | |
run: xcodebuild -version -sdk | |
- name: swift build | |
run: swift build | |
- name: swift run | |
run: swift run |