Skip to content

Commit 480d87c

Browse files
rafiefilipecosta90
authored andcommitted
Multi-platform build (#398)
1 parent 6500869 commit 480d87c

File tree

1 file changed

+8
-23
lines changed

1 file changed

+8
-23
lines changed

.circleci/config.yml

Lines changed: 8 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ commands:
2020
- checkout
2121
- run:
2222
name: Submodule checkout
23-
command: git submodule update --init --recursive
23+
command: git submodule update --init --recursive
2424
- restore_cache:
2525
keys:
2626
- v1-dependencies-{{ checksum "get_deps.sh" }}
@@ -36,21 +36,6 @@ commands:
3636
paths:
3737
- deps
3838
key: build-dependencies-{{ checksum "get_deps.sh" }}
39-
- run:
40-
name: Set up workspace
41-
command: |
42-
mkdir -p ~/workspace
43-
chown `whoami` ~/workspace
44-
45-
test_steps:
46-
parameters:
47-
platform:
48-
type: string
49-
steps:
50-
- checkout
51-
- run:
52-
name: Submodule checkout
53-
command: git submodule update --init --recursive
5439
- run:
5540
name: Build
5641
command: make -C opt all SHOW=1
@@ -142,7 +127,7 @@ jobs:
142127
command: |
143128
./opt/readies/bin/getpy3
144129
./opt/system-setup.py
145-
./opt/readies/bin/getredis -v 6 --valgrind --force
130+
# ./opt/readies/bin/getredis -v 6 --force
146131
./get_deps.sh cpu
147132
- run:
148133
name: Build for coverage
@@ -215,7 +200,7 @@ jobs:
215200
command: |
216201
mkdir -p $HOME/tests
217202
docker run --gpus all -v $HOME/tests:/build/test/logs -it --rm redisai-gpu:latest-x64-bionic-test
218-
no_output_timeout: 40m
203+
no_output_timeout: 30m
219204
- store_artifacts:
220205
path: tests
221206

@@ -273,8 +258,8 @@ on-master-and-version-tags: &on-master-and-version-tags
273258
platform-build-defs: &platform-build-defs
274259
requires:
275260
- build-debian
276-
<<: *on-master-and-version-tags
277-
# <<: *on-any-branch # debugging
261+
#@@ <<: *on-master-and-version-tags
262+
<<: *on-any-branch
278263

279264
after-platform-builds: &after-platform-builds
280265
requires:
@@ -306,10 +291,10 @@ workflows:
306291
- build-and-test-gpu:
307292
<<: *on-any-branch
308293
- build-macos:
309-
<<: *never # temporarily disabled
294+
<<: *never
310295
# <<: *on-version-tags
311296
- build-multiarch-docker:
312-
<<: *never # temporarily disabled
297+
<<: *never
313298
# <<: *on-version-tags
314299
- deploy-artifacts:
315300
name: deploy-branch
@@ -329,4 +314,4 @@ workflows:
329314
<<: *on-master
330315
jobs:
331316
- build-macos:
332-
<<: *never # temporarily disabled
317+
<<: *never

0 commit comments

Comments
 (0)