Merge pull request #5 from ncbi/dev #50
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: MacOS C++ CI | |
on: | |
workflow_dispatch: | |
push: | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: prerequisites | |
run: | | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" | |
brew install blast | |
- name: make | |
run: make | |
- name: test | |
run: ./test_stxtyper.sh | |
- name: Upload artifacts on failure | |
uses: actions/upload-artifact@v4 | |
if: ${{ failure() }} # only run if the job fails | |
with: | |
name: stxtyper-failed-test-macos | |
path: | | |
./* | |
test/* | |
retention-days: 14 | |