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
10 changes: 7 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,9 @@ commands:
name: Setup automation and install dependencies
command: |
./deps/readies/bin/getpy3
python3 -m pip list -v
./system-setup.py
python3 -m pip list -v
source $HOME/.cargo/env
rustc --version
cargo --version
Expand All @@ -100,7 +102,7 @@ commands:
redis-server --version
- restore_cache:
keys:
- v2-dependencies-{{ arch }}-{{ checksum "Cargo.lock" }}
- v3-dependencies-{{ arch }}-{{ checksum "Cargo.lock" }}
- run:
name: Check formatting
command: bash -l -c "make lint"
Expand All @@ -111,7 +113,7 @@ commands:
name: Build release
command: bash -l -c "make build pack <<parameters.build_params>>"
- save_cache:
key: v2-dependencies-{{ arch }}-{{ checksum "Cargo.lock" }}
key: v3-dependencies-{{ arch }}-{{ checksum "Cargo.lock" }}
paths:
- "~/.cargo"
- "./target"
Expand Down Expand Up @@ -172,6 +174,8 @@ commands:
command: python3 -m pip install -r ./tests/benchmarks/requirements.txt
- run:
name: Run CI benchmarks on aws
timeout: 60m
no_output_timeout: 20m
command: |
cd ./tests/benchmarks
export AWS_ACCESS_KEY_ID=$PERFORMANCE_EC2_ACCESS_KEY
Expand Down Expand Up @@ -211,7 +215,7 @@ jobs:

build-macos:
macos:
xcode: 11.3.0
xcode: 11.6.0
steps:
- build-steps
- test-steps
Expand Down
10 changes: 10 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ include $(ROOT)/deps/readies/mk/main
#----------------------------------------------------------------------------------------------

define HELP
make setup # install prerequisites

make build
DEBUG=1 # build debug variant
make clean # remove binary files
Expand Down Expand Up @@ -73,6 +75,14 @@ all: build

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

setup:
./deps/readies/bin/getpy3
./system-setup.py

.PHONY: setup

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

lint:
cargo fmt -- --check

Expand Down
2 changes: 1 addition & 1 deletion deps/readies