Skip to content

Commit 176e729

Browse files
author
meihuisu
committed
trigger ci
1 parent d3566ef commit 176e729

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

.github/workflows/cvms5-ucvm-ci.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66

77
jobs:
88
cvms5-build-ucvm-linux:
9-
if: false
9+
# if: false
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
@@ -69,8 +69,8 @@ jobs:
6969

7070

7171
cvms5-build-ucvm-mac:
72-
# if: ${{ success() }}
73-
# needs: [cvms5-build-ucvm-linux]
72+
if: ${{ success() }}
73+
needs: [cvms5-build-ucvm-linux]
7474
runs-on: macos-latest
7575
strategy:
7676
matrix:
@@ -123,12 +123,12 @@ jobs:
123123
- name: check on ucvm
124124
run: (source $UCVM_INSTALL_PATH/conf/ucvm_env.sh; ucvm_query -H)
125125
shell: bash
126-
- name: Start SSH debug with tmate
127-
uses: mxschmitt/action-tmate@v3
128-
with:
129-
limit-access-to-actor: true
130-
- name: sleep to keep runner alive
131-
run: sleep 3600
126+
# - name: Start SSH debug with tmate
127+
# uses: mxschmitt/action-tmate@v3
128+
# with:
129+
# limit-access-to-actor: true
130+
# - name: sleep to keep runner alive
131+
# run: sleep 3600
132132
### check ucvm is still valid
133133
- name: test cvms5 with ucvm
134134
run: (cd $RUNNER_WORKSPACE/cvms5/ucvm/work/model/cvms5; source $UCVM_INSTALL_PATH/conf/ucvm_env.sh; ./.github/scripts/cvms5-test-ucvm.sh)

test/run_unit

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

3-
if [[ -z "${UCVM_INSTALL_PATH}" ]]; then
4-
if [[ -f "${UCVM_INSTALL_PATH}/model/cvms5/lib" ]]; then
3+
if [[ ! -z "${UCVM_INSTALL_PATH}" ]]; then
4+
if [[ -d "${UCVM_INSTALL_PATH}/model/cvms5/lib" ]]; then
55
env DYLD_LIBRARY_PATH=${UCVM_INSTALL_PATH}/model/cvms5/lib:${DYLD_LIBRARY_PATH} ./test_cvms5
66
exit
77
fi

0 commit comments

Comments
 (0)