Skip to content

Commit 09cb6a5

Browse files
author
DvirDukhan
committed
updated config.yml
1 parent 010e85f commit 09cb6a5

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.circleci/config.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ commands:
7171
parameters:
7272
redis_version:
7373
type: string
74-
default: "7.2-rc1"
74+
default: "7.2"
7575
getredis_params:
7676
type: string
7777
default: ""
@@ -101,7 +101,7 @@ commands:
101101
default: ""
102102
redis_version:
103103
type: string
104-
default: "7.2-rc1"
104+
default: "7.2"
105105
getredis_params:
106106
type: string
107107
default: ""
@@ -118,6 +118,9 @@ commands:
118118
name: Check formatting
119119
shell: /bin/bash -l -eo pipefail
120120
command: make lint
121+
- run:
122+
name: patch macos tests # Avoid AVX with Regex with CircleCI since virtualization layer doesn't support it. Use sed to replace the relevant entry in cargo.toml
123+
command: if [[ $(uname -s) == Darwin ]]; then sed -i 's/regex = "1"/regex = { version = "1", default-features = ["perf", "unicode"] }/g' Cargo.toml; fi
121124
- run:
122125
name: Build debug
123126
shell: /bin/bash -l -eo pipefail

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ bitflags = "2"
121121
libc = "0.2"
122122
enum-primitive-derive = "^0.1"
123123
num-traits = "^0.2"
124-
regex = {version ="1" , features = ["perf", "unicode"]}
124+
regex = "1"
125125
strum_macros = "0.24"
126126
backtrace = "0.3"
127127
linkme = "0.3"

0 commit comments

Comments
 (0)