Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 22 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -271,11 +271,16 @@ commands:
#----------------------------------------------------------------------------------------------------------------------------------

jobs:
build:
build-linux-debian:
docker:
- image: redisfab/rmbuilder:6.2.5-x64-bullseye
parameters:
redis_version:
type: string
default: "6"
steps:
- build-steps
- build-steps:
redis_version: <<parameters.redis_version>>
- test-steps

platforms-build:
Expand Down Expand Up @@ -426,8 +431,16 @@ workflows:
version: 2
default-flow:
jobs:
- build:
- build-linux-debian:
name: build
<<: *not-on-integ-branch
- build-linux-debian:
name: build-with-redis-<<matrix.redis_version>>
#@@<<: *on-integ-branch
<<: *on-any-branch
matrix:
parameters:
redis_version: ["6.0", "6.2"]
- platforms-build:
context: common
<<: *on-integ-and-version-tags
Expand All @@ -439,7 +452,7 @@ workflows:
context: common
matrix:
parameters:
platform: [focal]
platform: [bionic]
- build-macos:
<<: *on-integ-and-version-tags
- deploy-artifacts:
Expand Down Expand Up @@ -478,5 +491,10 @@ workflows:
- master
- /^feature-.*$/
jobs:
- build-linux-debian:
name: build-with-redis-<<matrix.redis_version>>
matrix:
parameters:
redis_version: ["6.0", "6.2"]
- performance-automation:
context: common
35 changes: 7 additions & 28 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
ROOT=.
MK.pyver:=3

ifeq ($(wildcard $(ROOT)/deps/readies/mk),)
$(error Submodules not present. Please run 'git submodule update --init --recursive')
endif
include $(ROOT)/deps/readies/mk/main

ifneq ($(SAN),)
override DEBUG:=1
Expand All @@ -19,6 +12,13 @@ $(error SAN=mem|addr|leak|thread)
endif
endif

ROOT=.
ifeq ($(wildcard $(ROOT)/deps/readies/mk),)
$(error Submodules not present. Please run 'git submodule update --init --recursive')
endif
MK.pyver:=3
include $(ROOT)/deps/readies/mk/main

#----------------------------------------------------------------------------------------------

define HELPTEXT
Expand Down Expand Up @@ -59,10 +59,6 @@ make builddocs
make localdocs
make deploydocs

make nightly # set rust default to nightly
make stable # set rust default to stable


endef

#----------------------------------------------------------------------------------------------
Expand Down Expand Up @@ -103,12 +99,6 @@ TARGET=$(BINDIR)/$(MODULE_NAME)

#----------------------------------------------------------------------------------------------

all: build

.PHONY: all

#----------------------------------------------------------------------------------------------

setup:
$(SHOW)./deps/readies/bin/getpy3
$(SHOW)./sbin/system-setup.py
Expand Down Expand Up @@ -231,14 +221,3 @@ deploydocs: builddocs
$(SHOW)mkdocs gh-deploy

.PHONY: builddocs localdocs deploydocs

#----------------------------------------------------------------------------------------------

nightly:
$(SHOW)rustup default nightly
$(SHOW)rustup component add rust-src

stable:
$(SHOW)rustup default stable

.PHONY: nightly stable
2 changes: 1 addition & 1 deletion deps/readies