Skip to content

Commit 980bfe5

Browse files
author
meihuisu
committed
debug 4
1 parent 9cf82be commit 980bfe5

1 file changed

Lines changed: 3 additions & 28 deletions

File tree

‎.github/workflows/sfcvm-ucvm-ci.yml‎

Lines changed: 3 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,6 @@ jobs:
3333
initiating-repo: 'sfcvm'
3434
target-model: 'sfcvm'
3535
target-branch: 'main'
36-
# - name: Start SSH debug with tmate
37-
# uses: mxschmitt/action-tmate@v3
38-
# with:
39-
# limit-access-to-actor: true
40-
# - name: sleep to keep runner alive
41-
# run: sleep 3600
4236
- name: move stock sfcvm away
4337
run: (rm -rf $RUNNER_WORKSPACE/sfcvm/ucvm/work/model/sfcvm)
4438
shell: bash
@@ -54,20 +48,13 @@ jobs:
5448
run: (cd $RUNNER_WORKSPACE/sfcvm/ucvm/work/model/sfcvm; ./.github/scripts/sfcvm-build.sh)
5549
shell: bash
5650
- name: Start SSH debug with upterm for sfcvm github
51+
if: ${{ failure() }}
5752
uses: owenthereal/action-upterm@v1
5853
with:
5954
limit-access-to-actor: true
6055
wait-timeout-minutes: 60
61-
# - name: Start SSH debug with tmate for sfcvm github
62-
# if: ${{ failure() }}
63-
# uses: mxschmitt/action-tmate@v3
64-
# with:
65-
# detached: false
66-
# install-dependencies: true
67-
# limit-access-to-actor: true
68-
# sudo : auto
69-
- name: sleep to keep runner alive
70-
run: sleep 3600
56+
# - name: sleep to keep runner alive
57+
# run: sleep 3600
7158
### check ucvm is still valid
7259
- name: check on ucvm
7360
run: (source $UCVM_INSTALL_PATH/conf/ucvm_env.sh; ucvm_query -H)
@@ -93,12 +80,6 @@ jobs:
9380
run: echo "UCVM_SRC_PATH=$RUNNER_WORKSPACE/sfcvm/ucvm" >> $GITHUB_ENV
9481
- name: set UCVM_INSTALL_PATH
9582
run: echo "UCVM_INSTALL_PATH=$RUNNER_WORKSPACE/sfcvm/target" >> $GITHUB_ENV
96-
# - name: Start SSH debug with tmate
97-
# uses: mxschmitt/action-tmate@v3
98-
# with:
99-
# limit-access-to-actor: true
100-
# - name: sleep to keep runner alive
101-
# run: sleep 3600
10283
- name: load python pkgs
10384
run: (pipx install --include-deps scipy h5py numpy pandas pybind11)
10485
shell: bash
@@ -116,12 +97,6 @@ jobs:
11697
initiating-repo: 'sfcvm'
11798
target-model: 'sfcvm'
11899
target-branch: 'main'
119-
# - name: Start SSH debug with tmate
120-
# uses: mxschmitt/action-tmate@v3
121-
# with:
122-
# limit-access-to-actor: true
123-
# - name: sleep to keep runner alive
124-
# run: sleep 3600
125100
- name: move stock sfcvm away
126101
run: (rm -rf $RUNNER_WORKSPACE/sfcvm/ucvm/work/model/sfcvm)
127102
shell: bash

0 commit comments

Comments
 (0)