add flow #1
Workflow file for this run
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: branch-test | |
on: | |
push: | |
branches: | |
- "test-gha" | |
jobs: | |
# Third machine, runs Bluepill tests and makes release build | |
build: | |
name: Bluepill Test and build | |
runs-on: macos-12 | |
steps: | |
# actions/checkout@v2 but we use the SHA1 because tags can be re-written in git | |
- uses: actions/checkout@v3 | |
- name: Select Xcode 14.0 | |
run: sudo xcode-select -s /Applications/Xcode_14.0.app | |
- name: Run Bluepill tests | |
run: ./scripts/bluepill.sh runner_tests | |
- name: Capture xcresult files | |
if: ${{ always() }} | |
uses: actions/upload-artifact@v3 | |
with: | |
name: xcresults-bluepill-tests | |
path: build/**/*.xcresult | |
retention-days: 14 | |
- name: Build and Package | |
run: ./scripts/bluepill.sh build |