File tree 3 files changed +11
-15
lines changed 3 files changed +11
-15
lines changed Original file line number Diff line number Diff line change @@ -17,11 +17,3 @@ sudo bash cmake-3.15.6-Linux-x86_64.sh --skip-license --prefix=/usr/local
17
17
18
18
# Generate keypair for attestation
19
19
openssl genrsa -out private_key.pem -3 3072
20
-
21
- # Set up environment variables
22
- source opaqueenv
23
- source /opt/openenclave/share/openenclave/openenclaverc
24
- export MODE=SIMULATE
25
-
26
- # Build package
27
- ./build/sbt package
Original file line number Diff line number Diff line change
1
+ source opaqueenv
2
+ source /opt/openenclave/share/openenclave/openenclaverc
Original file line number Diff line number Diff line change @@ -24,21 +24,23 @@ jobs:
24
24
- uses : actions/setup-java@v1
25
25
with :
26
26
java-version : ' 8'
27
- # Run the build script
27
+ # Run the test
28
28
- name : Install dependencies, set environment variables, and build the package
29
- run : ./.github/scripts/build.sh
30
- shell : bash
29
+ run : |
30
+ ./.github/scripts/install-deps.sh
31
+ ./.github/scripts/setup-env.sh
32
+ ./build/sbt package
31
33
32
34
test :
33
35
runs-on : ubuntu-18.04
34
- # Specify that the build job is a prerequisite
36
+ # Build job is a prerequisite
35
37
needs : build
36
38
steps :
37
39
- uses : actions/checkout@v2
38
40
- uses : actions/setup-java@v1
39
41
with :
40
42
java-version : ' 8'
41
- # Run sbt tests
42
43
- name : Run tests
43
- run : ./build/sbt test
44
-
44
+ run : |
45
+ ./.github/scripts/setup-env.sh
46
+ ./build/sbt test
You can’t perform that action at this time.
0 commit comments