Skip to content

update dist tarball #271

update dist tarball

update dist tarball #271

name: ucvm_plotting-ci
on: [push]
jobs:
ucvm_plotting-build:
runs-on: ubuntu-latest
name: A job to build ucvm_plotting
steps:
- name: set UCVM_SRC_PATH
run: echo "UCVM_SRC_PATH=$RUNNER_WORKSPACE/ucvm_plotting/ucvm" >> $GITHUB_ENV
- name: set UCVM_INSTALL_PATH
run: echo "UCVM_INSTALL_PATH=$RUNNER_WORKSPACE/ucvm_plotting/target" >> $GITHUB_ENV
### build ucvm(main) first
- id: get-ucvm
uses: actions/checkout@v2
with:
repository: 'SCECcode/UCVM'
ref: main
path: ucvm
- id: build-ucvm
uses: ./ucvm/.github/actions/build-ucvm-action
with:
initiating-repo: 'cvmh'
target-model: 'cvmh'
target-branch: 'main'
# - name: Start SSH debug with tmate
# uses: mxschmitt/action-tmate@v3
# with:
# limit-access-to-actor: true
# - name: sleep to keep runner alive
# run: sleep 3600
- name: get ucvm_plotting
uses: actions/checkout@v2
- name: set up path to ucvm_plotting
run: ( echo "UCVM_PLOTTING_PATH=$RUNNER_WORKSPACE/ucvm_plotting" >> $GITHUB_ENV )
shell: bash
- name : echo build-log
run: echo build-log ${{ steps.build-ucvm.outputs.build-log }}
shell: bash
- name: Set up Conda
uses: s-weigand/setup-conda@v1
with:
update-conda: false
activate-conda: true
conda-channels: conda-forge
- name: bring in basemap
run: conda install matplotlib basemap basemap-data-hires
- name: test basemap
run: (cd $UCVM_PLOTTING_PATH; ./.github/scripts/test_basemap.py)
- name: build-self
run: (cd $UCVM_PLOTTING_PATH; ./.github/scripts/ucvm_plotting-build.sh)
shell: bash
- name: test plotting
run: (cd $UCVM_PLOTTING_PATH; ./.github/scripts/ucvm_plotting-test.sh)
shell: bash