Commit c19f630 1 parent 30797cb commit c19f630 Copy full SHA for c19f630
File tree 2 files changed +61
-0
lines changed
2 files changed +61
-0
lines changed File renamed without changes.
Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ pull_request :
5
+ branches :
6
+ - trunk
7
+ push :
8
+ branches :
9
+ - trunk
10
+
11
+ defaults :
12
+ run :
13
+ shell : bash
14
+
15
+ env :
16
+ BUILD_DIR : x86_64
17
+
18
+ jobs :
19
+ build-release :
20
+ name : Build Release Candidate
21
+ runs-on : macos-latest
22
+ env :
23
+ BUILD_RELEASE : 1
24
+ steps :
25
+ - uses : actions/checkout@v2
26
+ with :
27
+ submodules : recursive
28
+ - name : Setup Build Env
29
+ run : ./scripts/install-build-tools.sh
30
+ - name : Setup Local Dependencies
31
+ run : ./scripts/setup-dependencies.sh
32
+ - name : Build
33
+ run : scripts/build.sh
34
+ unit-and-integration-test :
35
+ name : Unit and Integration Tests
36
+ runs-on : macos-latest
37
+ timeout-minutes : 30
38
+ steps :
39
+ - uses : actions/checkout@v2
40
+ with :
41
+ submodules : recursive
42
+ - name : Setup Build Env
43
+ run : ./scripts/install-build-tools.sh
44
+ - name : Setup Local Dependencies
45
+ run : ./scripts/setup-dependencies.sh
46
+ - name : Build
47
+ run : scripts/build.sh
48
+ - name : Run Unit Tests
49
+ run : scripts/test.sh
50
+ - name : Shorten SHA
51
+ id : vars
52
+ run : echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
53
+ - uses : actions/upload-artifact@v2
54
+ if : ${{ !env.ACT }}
55
+ name : Archive Test Results
56
+ with :
57
+ name : Test Results for ${{ steps.vars.outputs.sha_short }}
58
+ path : |
59
+ ${{env.BUILD_DIR}}/unit_tests_coverage/output/*
60
+ ${{env.BUILD_DIR}}/integration_tests_coverage/output/*
61
+ retention-days : 7
You can’t perform that action at this time.
0 commit comments