-
Notifications
You must be signed in to change notification settings - Fork 1
56 lines (52 loc) · 1.5 KB
/
cca-ci.yml
File metadata and controls
56 lines (52 loc) · 1.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: cca-ci
on:
push:
branches: [ foo ]
jobs:
cca-build-standalone-mac:
runs-on: macos-latest
strategy:
matrix:
python-version: [3.7]
steps:
- name: set UCVM_SRC_PATH
run: echo "UCVM_SRC_PATH=$RUNNER_WORKSPACE/ucvm" >> $GITHUB_ENV
- name: set UCVM_INSTALL_PATH
run: echo "UCVM_INSTALL_PATH=$RUNNER_WORKSPACE/target" >> $GITHUB_ENV
- name: checkout cca main
uses: actions/checkout@v2
with:
ref: main
- name: build cca
run: ./.github/scripts/cca-build.sh
shell: bash
- name: test cca standalone
run: ./.github/scripts/cca-test-standalone.sh
shell: bash
cca-build-standalone-linux:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7]
steps:
- name: set UCVM_SRC_PATH
run: echo "UCVM_SRC_PATH=$RUNNER_WORKSPACE/ucvm" >> $GITHUB_ENV
- name: set UCVM_INSTALL_PATH
run: echo "UCVM_INSTALL_PATH=$RUNNER_WORKSPACE/target" >> $GITHUB_ENV
- name: checkout cca main
uses: actions/checkout@v2
with:
ref: main
- name: build cca
run: ./.github/scripts/cca-build.sh
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 cca standalone
run: ./.github/scripts/cca-test-standalone.sh
shell: bash