-
Notifications
You must be signed in to change notification settings - Fork 172
44 lines (41 loc) · 1.24 KB
/
build_test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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