Skip to content

Commit

Permalink
Merge branch 'master' of github.com:RoaringBitmap/CRoaring
Browse files Browse the repository at this point in the history
  • Loading branch information
lemire committed Aug 25, 2022
2 parents 0164b87 + 2e84a7b commit 8b12245
Show file tree
Hide file tree
Showing 112 changed files with 10,773 additions and 11,042 deletions.
18 changes: 18 additions & 0 deletions .cirrus.yml
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
176 changes: 176 additions & 0 deletions .drone.yml
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
36 changes: 36 additions & 0 deletions .github/workflows/alpine.yml
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"
31 changes: 31 additions & 0 deletions .github/workflows/macos-ci.yml
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 .
25 changes: 25 additions & 0 deletions .github/workflows/ubuntu-18-ci.yml
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
36 changes: 36 additions & 0 deletions .github/workflows/ubuntu-ci.yml
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 .
27 changes: 27 additions & 0 deletions .github/workflows/ubuntu-gcc10-ci.yml
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
23 changes: 23 additions & 0 deletions .github/workflows/ubuntu-legacy-ci.yml
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 .
Loading

0 comments on commit 8b12245

Please sign in to comment.