update to ucvm 25.7 #39
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: cvmhsmbn-ci | |
| on: | |
| push: | |
| branches: [ main ] | |
| jobs: | |
| cvmhsmbn-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 cvmhsmbn | |
| run: ./.github/scripts/cvmhbn-generate.sh cvmhsmbn | |
| shell: bash | |
| - name: build cvmhsmbn | |
| run: ./.github/scripts/cvmhbn-build.sh cvmhsmbn | |
| 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 cvmhsmbn standalone | |
| run: ./.github/scripts/cvmhbn-test-standalone.sh cvmhsmbn | |
| shell: bash | |
| cvmhsmbn-build-standalone-linux: | |
| if: ${{ success() }} | |
| needs: [cvmhsmbn-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 cvmhsmbn | |
| run: ./.github/scripts/cvmhbn-generate.sh cvmhsmbn | |
| shell: bash | |
| - name: build cvmhsmbn | |
| run: ./.github/scripts/cvmhbn-build.sh cvmhsmbn | |
| 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 cvmhsmbn standalone | |
| run: ./.github/scripts/cvmhbn-test-standalone.sh cvmhsmbn | |
| shell: bash |