[CI] simplify setup (#69) #121
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: SwiftPM Integration | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
env: | |
DEVELOPER_DIR: /Applications/Xcode_15.1.app/Contents/Developer | |
jobs: | |
main: | |
name: SwiftPM Build | |
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 |