Commit 1e1eef7 1 parent d3c65a8 commit 1e1eef7 Copy full SHA for 1e1eef7
File tree 3 files changed +24
-2
lines changed
3 files changed +24
-2
lines changed Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ set -o errexit -o nounset -o xtrace -o pipefail
3
+ shopt -s inherit_errexit nullglob dotglob
4
+
5
+ rm -rf " ${HOME:? } " /* " ${GITHUB_WORKSPACE:? } " /*
6
+
7
+ if test " ${RUNNER_DEBUG:- 0} " ! = ' 1' ; then
8
+ set +o xtrace
9
+ fi
Original file line number Diff line number Diff line change 42
42
with :
43
43
name : gfruit-image
44
44
path : " ./buck-out/v2/gen/root/**/*"
45
+ - name : Cleanup
46
+ run : bash .github/cleanup.sh
45
47
46
48
cosmo_seq :
47
49
needs : changes
63
65
with :
64
66
name : cosmo-seq-image
65
67
path : " ./buck-out/v2/gen/root/**/*"
68
+ - name : Cleanup
69
+ run : bash .github/cleanup.sh
66
70
67
71
cosmo_hp :
68
72
needs : changes
84
88
with :
85
89
name : cosmo-hp-image
86
90
path : " ./buck-out/v2/gen/root/**/*"
91
+ - name : Cleanup
92
+ run : bash .github/cleanup.sh
87
93
88
94
bsv-streams :
89
95
needs : changes
@@ -113,4 +119,6 @@ jobs:
113
119
- uses : actions/upload-artifact@v4
114
120
with :
115
121
name : bsv-images
116
- path : " ./build/latest/**/*"
122
+ path : " ./build/latest/**/*"
123
+ - name : Cleanup
124
+ run : bash .github/cleanup.sh
Original file line number Diff line number Diff line change 11
11
cobble : ${{ steps.filter.outputs.cobble }}
12
12
buck2 : ${{ steps.filter.outputs.buck2 }}
13
13
steps :
14
+ - uses : TooMuch4U/actions-clean@v2.1
14
15
- uses : actions/checkout@v4
15
16
with :
16
17
submodules : ' true'
35
36
run : echo "~/.cargo/bin" >> "$GITHUB_PATH"
36
37
- name : Run VUnit tests
37
38
run : set -o pipefail; buck2 bxl //tools/vunit-sims.bxl:vunit_sim_gen | while IFS= read -r line; do eval "$line" ; done
39
+ - name : Cleanup
40
+ run : bash .github/cleanup.sh
38
41
39
42
bsv-sim :
40
43
needs : changes
60
63
run : ./cobble bluesim_test "//.*Test.*"
61
64
working-directory : ./build
62
65
- name : backup build-dir
63
- run : cp -R ./build /tmp/cobble_build_bkup
66
+ run : cp -R ./build /tmp/cobble_build_bkup
67
+ - name : Cleanup
68
+ run : bash .github/cleanup.sh
You can’t perform that action at this time.
0 commit comments