Merge branch 'main' of github.com:SCECcode/cvmhbn #31
This file contains hidden or 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: cvmhsbbn-ci | |
| on: | |
| push: | |
| branches: [ main ] | |
| jobs: | |
| cvmhsbbn-build-standalone-mac: | |
| runs-on: macos-latest | |
| strategy: | |
| matrix: | |
| python-version: [3.7] | |
| steps: | |
| - name: set UCVM_INSTALL_PATH | |
| run: echo "UCVM_INSTALL_PATH=$RUNNER_WORKSPACE/cvmhbn/target" >> $GITHUB_ENV | |
| - name: checkout cvmhbn main | |
| uses: actions/checkout@v2 | |
| with: | |
| ref: main | |
| - name: generate cvmhsbbn | |
| run: ./.github/scripts/cvmhbn-generate.sh cvmhsbbn | |
| shell: bash | |
| - name: build cvmhsbbn | |
| run: ./.github/scripts/cvmhbn-build.sh cvmhsbbn | |
| shell: bash | |
| - name: test cvmhsbbn standalone | |
| run: ./.github/scripts/cvmhbn-test-standalone.sh cvmhsbbn | |
| shell: bash | |
| # - name: Start SSH via Ngrok | |
| # if: ${{ success() }} | |
| # uses: luchihoratiu/debug-via-ssh@main | |
| # with: | |
| # NGROK_AUTH_TOKEN: ${{ secrets.NGROK_TOKEN }} | |
| # NGROK_TIMEOUT: 3000 | |
| # SSH_PASS: ${{ secrets.NGROK_SECRET }} | |
| cvmhsbbn-build-standalone-linux: | |
| if: ${{ success() }} | |
| needs: [cvmhsbbn-build-standalone-mac] | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: [3.7] | |
| steps: | |
| - name: set UCVM_INSTALL_PATH | |
| run: echo "UCVM_INSTALL_PATH=$RUNNER_WORKSPACE/cvmhbn/target" >> $GITHUB_ENV | |
| - name: checkout cvmhbn main | |
| uses: actions/checkout@v2 | |
| with: | |
| ref: main | |
| - name: generate cvmhsbbn | |
| run: ./.github/scripts/cvmhbn-generate.sh cvmhsbbn | |
| shell: bash | |
| - name: build cvmhsbbn | |
| run: ./.github/scripts/cvmhbn-build.sh cvmhsbbn | |
| shell: bash | |
| # - name: Start SSH via Ngrok | |
| # if: ${{ failure() }} | |
| # uses: luchihoratiu/debug-via-ssh@main | |
| # with: | |
| # NGROK_AUTH_TOKEN: ${{ secrets.NGROK_TOKEN }} | |
| # NGROK_TIMEOUT: 3000 | |
| # SSH_PASS: ${{ secrets.NGROK_SECRET }} | |
| - name: test cvmhsbbn standalone | |
| run: ./.github/scripts/cvmhbn-test-standalone.sh cvmhsbbn | |
| shell: bash |