-
Notifications
You must be signed in to change notification settings - Fork 267
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:RoaringBitmap/CRoaring
- Loading branch information
Showing
112 changed files
with
10,773 additions
and
11,042 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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
task: | ||
timeout_in: 1000m | ||
freebsd_instance: | ||
matrix: | ||
- image_family: freebsd-13-0-snap | ||
env: | ||
ASSUME_ALWAYS_YES: YES | ||
setup_script: | ||
- pkg update -f | ||
- pkg install bash | ||
- pkg install cmake | ||
- pkg install git | ||
build_script: | ||
- cmake -B build | ||
- cmake --build build | ||
test_script: | ||
- cd build | ||
- ctest --output-on-failure |
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,176 @@ | ||
--- | ||
kind: pipeline | ||
name: amd64_clang_cmake | ||
|
||
platform: | ||
os: linux | ||
arch: amd64 | ||
|
||
steps: | ||
- name: Build and Test | ||
image: ubuntu:18.04 | ||
environment: | ||
CC: clang | ||
CXX: clang++ | ||
commands: | ||
- apt-get update -y | ||
- apt-get install -y make $CC g++ perl cmake | ||
- $CC --version | ||
- mkdir build && cd build | ||
- cmake $CMAKE_FLAGS .. | ||
- make -j | ||
- ctest . --output-on-failure | ||
--- | ||
kind: pipeline | ||
name: amd64_clang_cmake_sanitize | ||
|
||
platform: | ||
os: linux | ||
arch: amd64 | ||
|
||
steps: | ||
- name: Build and Test | ||
image: ubuntu:18.04 | ||
environment: | ||
CC: clang | ||
CXX: clang++ | ||
commands: | ||
- apt-get update -y | ||
- apt-get install -y make $CC g++ perl cmake | ||
- $CC --version | ||
- mkdir build && cd build | ||
- cmake $CMAKE_FLAGS .. -DROARING_SANITIZE=ON | ||
- make -j | ||
- ASAN_OPTIONS="detect_leaks=0" ctest . --output-on-failure | ||
--- | ||
kind: pipeline | ||
name: amd64_gcc_cmake | ||
|
||
platform: | ||
os: linux | ||
arch: amd64 | ||
|
||
steps: | ||
- name: Build and Test | ||
image: ubuntu:18.04 | ||
environment: | ||
CC: gcc | ||
CXX: g++ | ||
commands: | ||
- apt-get update -y | ||
- apt-get install -y make $CC g++ perl cmake | ||
- $CC --version | ||
- mkdir build && cd build | ||
- cmake $CMAKE_FLAGS .. | ||
- make -j | ||
- ctest . --output-on-failure | ||
--- | ||
kind: pipeline | ||
name: amd64_gcc_cmake_sanitize | ||
|
||
platform: | ||
os: linux | ||
arch: amd64 | ||
|
||
steps: | ||
- name: Build and Test | ||
image: ubuntu:18.04 | ||
environment: | ||
CC: gcc | ||
CXX: g++ | ||
commands: | ||
- apt-get update -y | ||
- apt-get install -y make $CC g++ perl cmake | ||
- $CC --version | ||
- mkdir build && cd build | ||
- cmake $CMAKE_FLAGS .. -DROARING_SANITIZE=ON | ||
- make -j | ||
- ASAN_OPTIONS="detect_leaks=0" ctest . --output-on-failure | ||
--- | ||
kind: pipeline | ||
name: arm64_clang_cmake | ||
|
||
platform: | ||
os: linux | ||
arch: arm64 | ||
|
||
steps: | ||
- name: Build and Test | ||
image: ubuntu:18.04 | ||
environment: | ||
CC: clang | ||
CXX: clang++ | ||
commands: | ||
- apt-get update -y | ||
- apt-get install -y make $CC g++ perl cmake | ||
- $CC --version | ||
- mkdir build && cd build | ||
- cmake $CMAKE_FLAGS .. | ||
- make -j | ||
- ctest . --output-on-failure | ||
--- | ||
kind: pipeline | ||
name: arm64_clang_cmake_sanitize | ||
|
||
platform: | ||
os: linux | ||
arch: arm64 | ||
|
||
steps: | ||
- name: Build and Test | ||
image: ubuntu:18.04 | ||
environment: | ||
CC: clang | ||
CXX: clang++ | ||
commands: | ||
- apt-get update -y | ||
- apt-get install -y make $CC g++ perl cmake | ||
- $CC --version | ||
- mkdir build && cd build | ||
- cmake $CMAKE_FLAGS .. -DROARING_SANITIZE=ON | ||
- make -j | ||
- ASAN_OPTIONS="detect_leaks=0" ctest . --output-on-failure | ||
--- | ||
kind: pipeline | ||
name: arm64_gcc_cmake | ||
|
||
platform: | ||
os: linux | ||
arch: arm64 | ||
|
||
steps: | ||
- name: Build and Test | ||
image: ubuntu:18.04 | ||
environment: | ||
CC: gcc | ||
CXX: g++ | ||
commands: | ||
- apt-get update -y | ||
- apt-get install -y make $CC g++ perl cmake | ||
- $CC --version | ||
- mkdir build && cd build | ||
- cmake $CMAKE_FLAGS .. | ||
- make -j | ||
- ctest . --output-on-failure | ||
--- | ||
kind: pipeline | ||
name: arm64_gcc_cmake_sanitize | ||
|
||
platform: | ||
os: linux | ||
arch: arm64 | ||
|
||
steps: | ||
- name: Build and Test | ||
image: ubuntu:18.04 | ||
environment: | ||
CC: gcc | ||
CXX: g++ | ||
commands: | ||
- apt-get update -y | ||
- apt-get install -y make $CC g++ perl cmake | ||
- $CC --version | ||
- mkdir build && cd build | ||
- cmake $CMAKE_FLAGS .. -DROARING_SANITIZE=ON | ||
- make -j | ||
- ASAN_OPTIONS="detect_leaks=0" ctest . --output-on-failure |
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,36 @@ | ||
name: Alpine Linux | ||
'on': | ||
- push | ||
- pull_request | ||
jobs: | ||
ubuntu-build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: start docker | ||
run: | | ||
docker run -w /src -dit --name alpine -v $PWD:/src alpine:latest | ||
echo 'docker exec alpine "$@";' > ./alpine.sh | ||
chmod +x ./alpine.sh | ||
- name: install packages | ||
run: | | ||
./alpine.sh apk update | ||
./alpine.sh apk add build-base cmake g++ linux-headers git bash | ||
- name: cmake | ||
run: | | ||
./alpine.sh cmake -B build_for_alpine | ||
- name: build | ||
run: | | ||
./alpine.sh cmake --build build_for_alpine | ||
- name: test | ||
run: | | ||
./alpine.sh bash -c "cd build_for_alpine && ctest" | ||
- name: cmakedebug | ||
run: | | ||
./alpine.sh cmake -B build_for_alpine_debug -DCMAKE_BUILD_TYPE=Debug | ||
- name: builddebug | ||
run: | | ||
./alpine.sh cmake --build build_for_alpine_debug | ||
- name: testdebug | ||
run: | | ||
./alpine.sh bash -c "cd build_for_alpine_debug && ctest" |
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,31 @@ | ||
name: Macos-CI | ||
|
||
'on': | ||
- push | ||
- pull_request | ||
|
||
|
||
jobs: | ||
ci: | ||
name: macos-llvm | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Build and Test | ||
run: | | ||
mkdir build | ||
cd build | ||
cmake -DCMAKE_INSTALL_PREFIX:PATH=destination .. | ||
cmake --build . | ||
ctest . --output-on-failure | ||
cmake --install . | ||
cd ../tests/installation/find && mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX:PATH=../../../build/destination .. && cmake --build . | ||
- name: Build and Test Debug | ||
run: | | ||
mkdir builddebug | ||
cd builddebug | ||
cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX:PATH=destination .. | ||
cmake --build . | ||
ctest . --output-on-failure | ||
cmake --install . | ||
cd ../tests/installation/find && mkdir builddebug && cd builddebug && cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX:PATH=../../../build/destination .. && cmake --build . |
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,25 @@ | ||
name: Ubuntu-18-CI | ||
|
||
'on': | ||
- push | ||
- pull_request | ||
|
||
|
||
jobs: | ||
ci: | ||
name: ubuntu-gcc | ||
runs-on: ubuntu-18.04 | ||
|
||
env: | ||
CC: gcc | ||
CXX: g++ | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Build and Test | ||
run: | | ||
mkdir build | ||
cd build | ||
cmake .. | ||
cmake --build . | ||
ctest . --output-on-failure |
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,36 @@ | ||
name: Ubuntu-CI | ||
|
||
'on': | ||
- push | ||
- pull_request | ||
|
||
|
||
jobs: | ||
ci: | ||
name: ubuntu-gcc | ||
runs-on: ubuntu-latest | ||
|
||
env: | ||
CC: gcc | ||
CXX: g++ | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Build and Test | ||
run: | | ||
mkdir build | ||
cd build | ||
cmake -DCMAKE_INSTALL_PREFIX:PATH=destination .. | ||
cmake --build . | ||
ctest . --output-on-failure | ||
cmake --install . | ||
cd ../tests/installation/find && mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX:PATH=../../../build/destination .. && cmake --build . | ||
- name: Build and Test Debug | ||
run: | | ||
mkdir builddebug | ||
cd builddebug | ||
cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX:PATH=destination .. | ||
cmake --build . | ||
ctest . --output-on-failure | ||
cmake --install . | ||
cd ../tests/installation/find && mkdir builddebug && cd builddebug && cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX:PATH=../../../build/destination .. && cmake --build . |
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,27 @@ | ||
name: Ubuntu-GCC10-CI | ||
|
||
'on': | ||
- push | ||
- pull_request | ||
|
||
|
||
jobs: | ||
ci: | ||
name: ubuntu-gcc | ||
runs-on: ubuntu-latest | ||
env: | ||
CC: gcc-10 | ||
CXX: g++-10 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: | | ||
sudo apt update | ||
sudo apt install gcc-10 g++-10 | ||
shell: bash | ||
- name: Build and Test | ||
run: | | ||
mkdir build | ||
cd build | ||
cmake .. | ||
cmake --build . | ||
ctest . --output-on-failure |
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,23 @@ | ||
name: Ubuntu-CI | ||
|
||
'on': | ||
- push | ||
- pull_request | ||
|
||
|
||
jobs: | ||
ci: | ||
name: ubuntu-gcc | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Build and Test | ||
run: | | ||
mkdir build | ||
cd build | ||
cmake -DROARING_DISABLE_AVX=ON -DCMAKE_INSTALL_PREFIX:PATH=destination .. | ||
cmake --build . | ||
ctest . --output-on-failure | ||
cmake --install . | ||
cd ../tests/installation/find && mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX:PATH=../../../build/destination .. && cmake --build . |
Oops, something went wrong.