File tree 3 files changed +20
-9
lines changed
3 files changed +20
-9
lines changed Original file line number Diff line number Diff line change @@ -50,15 +50,13 @@ if [ -z "$DOCKER_ID" ]; then
50
50
--disabled-password --home /home/$USER $USER "
51
51
fi
52
52
53
+ extra_cmd=" true" # dummy command
54
+
53
55
if [[ " $VARIANT " =~ graphcore ]]; then
54
56
extra_cmd=" source /opt/poplar_sdk-ubuntu_18_04-1.4.0+365-665f971c8f/poplar-ubuntu_18_04-1.4.0+71819-c5c0c8ebab/enable.sh \
55
57
&& source /opt/poplar_sdk-ubuntu_18_04-1.4.0+365-665f971c8f/popart-ubuntu_18_04-1.4.0+5352-e86081acc9/enable.sh"
56
-
57
- docker exec --user $USER $CONTAINER_NAME bash -c \
58
- " $extra_cmd && cd /host && rm -fr build && mkdir -p build && cd build && \
59
- cmake -G Ninja $cmake_flags ../halo && ninja && $check_cmds "
60
- else
61
- docker exec --user $USER $CONTAINER_NAME bash -c \
62
- " cd /host && rm -fr build && mkdir -p build && cd build && \
63
- cmake -G Ninja $cmake_flags ../halo && ninja && $check_cmds && ninja package"
64
58
fi
59
+
60
+ docker exec --user $USER $CONTAINER_NAME bash -c \
61
+ " $extra_cmd && cd /host && rm -fr build && mkdir -p build && cd build && \
62
+ cmake -G Ninja $cmake_flags ../halo && ninja && $check_cmds && ninja package"
Original file line number Diff line number Diff line change 22
22
uses : ./halo/.github/actions/build
23
23
with :
24
24
docker_image_variant : graphcore1.4.0-x86_64
25
+
26
+ - name : Upload
27
+ uses : actions/upload-artifact@v2
28
+ with :
29
+ name : artifact
30
+ path : ${{runner.workspace}}/heterogeneity-aware-lowering-and-optimization/build/*.bz2
31
+ if-no-files-found : error
Original file line number Diff line number Diff line change 7
7
pull_request :
8
8
branches-ignore :
9
9
- " web"
10
-
10
+ release :
11
11
jobs :
12
12
check :
13
13
runs-on : ubuntu-latest
44
44
uses : ./halo/.github/actions/build
45
45
with :
46
46
docker_image_variant : cuda10.0-cudnn7
47
+ - name : Upload
48
+ uses : actions/upload-artifact@v2
49
+ with :
50
+ name : artifact
51
+ path : ${{runner.workspace}}/heterogeneity-aware-lowering-and-optimization/build/*.bz2
52
+ if-no-files-found : error
You can’t perform that action at this time.
0 commit comments