Skip to content

Commit a4ec488

Browse files
committed
CI: fix & speedup build
1 parent ff3f04c commit a4ec488

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/docker.yml

-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ jobs:
2727
type: [gpu, cpu]
2828
steps:
2929
- uses: actions/checkout@v3
30-
- run: sudo .github/workflows/install_docker.sh
31-
- run: sudo .github/workflows/GHA_increase_disk_space.sh
3230
- name: cache
3331
uses: actions/cache@v3
3432
with:

docker/compose.sh

+6
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@ DCC_GPU="docker compose -f docker-compose.yml -f docker/docker-compose.gpu.yml"
3838
pushd "$(dirname "$(dirname "${BASH_SOURCE[0]}")")"
3939
git submodule update --init --recursive
4040

41+
echo build base stack
42+
for image in foundation base minimal scipy; do
43+
test $build_cpu = 1 && $DCC_CPU build "$@" $image
44+
test $build_gpu = 1 && $DCC_GPU build "$@" $image
45+
done
46+
4147
echo build ccache
4248
test $build_cpu = 1 && $DCC_CPU build "$@" sirf-build
4349
test $build_gpu = 1 && $DCC_GPU build "$@" sirf-build

0 commit comments

Comments
 (0)