forked from RedisJSON/RedisJSON
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactors cmake out and uses make in its stead
This replaces the previously-used build system with something that is supposed to play nicer with Mac OSX.
- Loading branch information
Showing
40 changed files
with
642 additions
and
543 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,36 @@ | ||
language: c | ||
compiler: gcc | ||
dist: trusty | ||
|
||
os: | ||
- linux | ||
- osx | ||
|
||
compiler: | ||
- gcc | ||
- clang | ||
|
||
matrix: | ||
allow_failures: | ||
- os: osx | ||
include: | ||
- os: linux | ||
dist: trusty | ||
sudo: required | ||
- os: osx | ||
osx_image: xcode8.3 | ||
|
||
branches: | ||
only: | ||
- master | ||
|
||
addons: | ||
packages: | ||
- cmake | ||
- cmake-data | ||
|
||
before_install: | ||
- sudo apt-get install cmake | ||
- git clone --depth 1 https://github.com/antirez/redis.git | ||
- cd redis | ||
- make | ||
- cd .. | ||
- pip install redis rmtest | ||
|
||
install: | ||
- ./bootstrap.sh | ||
- cmake -DREDIS_SERVER_PATH:FILEPATH=$PWD/redis/src/redis-server --build build | ||
- cmake --build build --target all --config Release | ||
- make all | ||
|
||
script: | ||
- cd build | ||
- ctest -VV | ||
- make test |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
all: | ||
$(MAKE) -C ./src all | ||
|
||
test: | ||
$(MAKE) -C ./test all | ||
.PHONY: test | ||
|
||
clean: | ||
find ./ -name "*.[oa]" -exec rm {} \; -print | ||
find ./ -name "*.so" -exec rm {} \; -print |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.