Merge pull request #237 from mtgto/fix-ci #637
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
name: test | |
on: | |
push: | |
branches: [main] | |
paths-ignore: | |
- '*.md' | |
pull_request: | |
branches: [main] | |
paths-ignore: | |
- '*.md' | |
# bashを使うようにしてpipefailを有効にする | |
# https://docs.github.com/ja/actions/writing-workflows/workflow-syntax-for-github-actions#defaultsrunshell | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
test: | |
runs-on: macos-14 | |
permissions: | |
checks: write | |
steps: | |
# https://github.com/actions/runner-images/blob/main/images/macos/macos-14-Readme.md#xcode | |
- name: Select Xcode version | |
run: sudo xcode-select -s '/Applications/Xcode_16.app/Contents/Developer' | |
- uses: actions/checkout@v4 | |
- name: test | |
run: | | |
xcodebuild -target macSKKTests -scheme macSKK DEVELOPMENT_TEAM= test | xcpretty |