Merge pull request #99 from zorgiepoo/adhoc-signature #155
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: XCTests | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
name: Build and Test Bit Slicer on macOS | |
runs-on: macos-13 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Build | |
env: | |
DEVELOPER_DIR: '/Applications/Xcode_15.0.1.app/Contents/Developer' | |
run: | | |
xcodebuild build-for-testing -target 'Bit Slicer Tests' -scheme 'Bit Slicer' -derivedDataPath build CODE_SIGN_IDENTITY="-" | |
- name: Test | |
run: | | |
xcodebuild test-without-building -target 'Bit Slicer Tests' -scheme 'Bit Slicer' -derivedDataPath build | |
- name: Archive Test Results | |
if: failure() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: 'build-logs' | |
path: build/Logs |