Skip to content

build_test

build_test #181

Workflow file for this run

name: build_test
on:
workflow_dispatch:
# Build and test ASP on macOS. For now triggered via gh workflow.
# on:
# push:
# branches: [ "master" ]
# pull_request:
# branches: [ "master" ]
jobs:
build:
runs-on: macos-latest
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
# run: ./.github/workflows/build_isis.sh # Build ISIS and other ASP dependencies
run: ./.github/workflows/build_test.sh
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: StereoPipeline-${{ runner.os }}
path: ~/work/StereoPipeline/packages
retention-days: 2