build_test #526
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: build_test | |
on: | |
workflow_dispatch: | |
# Build and test ASP on macOS. Triggered via gh. | |
# on: | |
# push: | |
# branches: [ "master" ] | |
# pull_request: | |
# branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: macos-13 | |
steps: | |
- uses: actions/checkout@v3 | |
# No caching of dependencies, as the cache does not change when it is | |
# modified, and it can expire. See build_test.sh how to fetch an | |
# offline tarball with dependencies, and how to update that one if need | |
# be. | |
# - name: Cache conda | |
# id: cache-conda | |
# uses: actions/cache@v3 | |
# env: | |
# cache-name: cache-conda | |
# with: | |
# path: | | |
# /usr/local/miniconda/envs | |
# key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/miniconda.json') }} | |
# restore-keys: | | |
# ${{ runner.os }}-build-${{ env.cache-name }}- | |
# ${{ runner.os }}-build- | |
# ${{ runner.os }}- | |
- name: build_test | |
# Build and test ASP | |
run: ./.github/workflows/build_test.sh | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v4 | |
with: | |
name: StereoPipeline-${{ runner.os }} | |
path: ~/work/StereoPipeline/packages | |
retention-days: 2 | |
continue-on-error: true |