-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
25c2abf
commit 071d3b1
Showing
13 changed files
with
141 additions
and
62 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 |
---|---|---|
|
@@ -19,15 +19,15 @@ jobs: | |
strategy: | ||
matrix: | ||
path: | ||
- check: 'src' | ||
- check: 'include' | ||
exclude: '(PerfEvent.hpp)' | ||
- check: "src" | ||
- check: "include" | ||
exclude: "(PerfEvent.hpp)" | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Run clang-format style check | ||
uses: jidicula/[email protected] | ||
with: | ||
clang-format-version: '17' | ||
clang-format-version: "17" | ||
check-path: ${{ matrix.path['check'] }} | ||
exclude-regex: ${{ matrix.path['exclude'] }} | ||
|
||
|
@@ -39,8 +39,17 @@ jobs: | |
|
||
- name: Generate dependency files hash | ||
id: files-hash | ||
run: | | ||
DIR_HASH=$(echo -n ${{ hashFiles('conanfile.py', 'conanprofile.docker', '.github/workflows/ci.yml', './Dockerfile_linter_dependencies') }}) | ||
run: |- | ||
DIR_HASH=$( | ||
echo -n ${{ | ||
hashFiles( | ||
'conanfile.py', | ||
'conanprofile.docker', | ||
'.github/workflows/ci.yml', | ||
'./Dockerfile_linter_dependencies' | ||
) | ||
}} | ||
) | ||
echo "DIR_HASH=$DIR_HASH" >> $GITHUB_ENV | ||
- name: Docker metadata | ||
|
@@ -91,8 +100,17 @@ jobs: | |
|
||
- name: Generate dependency files hash | ||
id: files-hash | ||
run: | | ||
DIR_HASH=$(echo -n ${{ hashFiles('conanfile.py', 'conanprofile.docker', '.github/workflows/ci.yml', './Dockerfile_linter_dependencies') }}) | ||
run: |- | ||
DIR_HASH=$( | ||
echo -n ${{ | ||
hashFiles( | ||
'conanfile.py', | ||
'conanprofile.docker', | ||
'.github/workflows/ci.yml', | ||
'./Dockerfile_linter_dependencies' | ||
) | ||
}} | ||
) | ||
echo "DIR_HASH=$DIR_HASH" >> $GITHUB_ENV | ||
- name: Set up Docker Buildx | ||
|
@@ -119,8 +137,18 @@ jobs: | |
|
||
- name: Generate dependency files hash | ||
id: files-hash | ||
run: | | ||
DIR_HASH=$(echo -n ${{ hashFiles('conanfile.py', 'conanprofile.docker', '.github/workflows/ci.yml', './Dockerfile_dependencies') }}) | ||
run: |- | ||
DIR_HASH=$( | ||
echo -n ${{ | ||
hashFiles( | ||
'conanfile.py', | ||
'conanprofile.docker', | ||
'conanprofile.docker_arm', | ||
'.github/workflows/ci.yml', | ||
'./Dockerfile_dependencies' | ||
) | ||
}} | ||
) | ||
echo "DIR_HASH=$DIR_HASH" >> $GITHUB_ENV | ||
- name: Docker metadata | ||
|
@@ -174,8 +202,18 @@ jobs: | |
|
||
- name: Generate dependency files hash | ||
id: files-hash | ||
run: | | ||
DIR_HASH=$(echo -n ${{ hashFiles('conanfile.py', 'conanprofile.docker', '.github/workflows/ci.yml', './Dockerfile_dependencies') }}) | ||
run: |- | ||
DIR_HASH=$( | ||
echo -n ${{ | ||
hashFiles( | ||
'conanfile.py', | ||
'conanprofile.docker', | ||
'conanprofile.docker_arm', | ||
'.github/workflows/ci.yml', | ||
'./Dockerfile_dependencies' | ||
) | ||
}} | ||
) | ||
echo "DIR_HASH=$DIR_HASH" >> $GITHUB_ENV | ||
- name: Docker metadata | ||
|
@@ -233,10 +271,11 @@ jobs: | |
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
preprocessing-docker-compose: [ | ||
docker-compose-for-tests-preprocessing-from-tsv.yml, | ||
docker-compose-for-tests-preprocessing-from-ndjson.yml | ||
] | ||
preprocessing-docker-compose: | ||
[ | ||
docker-compose-for-tests-preprocessing-from-tsv.yml, | ||
docker-compose-for-tests-preprocessing-from-ndjson.yml, | ||
] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
|
@@ -274,4 +313,4 @@ jobs: | |
SILO_IMAGE: ${{ steps.dockerMetadata.outputs.tags }} | ||
|
||
- name: Run Tests | ||
run: cd endToEndTests && SILO_URL=localhost:8080 npm run test | ||
run: cd endToEndTests && SILO_URL=localhost:8080 npm run test |
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 |
---|---|---|
|
@@ -62,6 +62,8 @@ conanprofile | |
*.out | ||
*.app | ||
|
||
# Debug files | ||
debug.duckdb | ||
|
||
**/output/ | ||
**/logs/ | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,32 @@ | ||
FROM alpine:3.18 | ||
FROM ubuntu:24.04 | ||
|
||
ARG TARGETPLATFORM | ||
|
||
RUN apk update && apk add --no-cache py3-pip \ | ||
build-base=0.5-r3 \ | ||
cmake=3.26.5-r0 \ | ||
bash=5.2.15-r5 \ | ||
linux-headers=6.3-r0 \ | ||
boost-build=1.82.0-r0 \ | ||
libtbb=2021.9.0-r0 | ||
WORKDIR /src | ||
|
||
RUN pip install conan==2.0.17 | ||
RUN apt update \ | ||
&& apt install -y \ | ||
cmake \ | ||
pipx \ | ||
&& apt clean | ||
|
||
RUN gcc --version | ||
|
||
ENV PATH="/root/.local/bin:$PATH" | ||
RUN pipx install conan --pip-args="--no-cache-dir" --system-site-packages | ||
|
||
WORKDIR /src | ||
COPY conanfile.py conanprofile.docker conanprofile.docker_arm ./ | ||
|
||
RUN if [ "$TARGETPLATFORM" = "linux/arm64" ]; then \ | ||
mv conanprofile.docker_arm conanprofile; \ | ||
mv conanprofile.docker_arm conanprofile; \ | ||
else \ | ||
mv conanprofile.docker conanprofile; \ | ||
mv conanprofile.docker conanprofile; \ | ||
fi | ||
|
||
RUN conan install . --build=missing --profile ./conanprofile --profile:build ./conanprofile --output-folder=build | ||
RUN apt update \ | ||
&& apt install -y \ | ||
gcc \ | ||
g++ \ | ||
&& apt clean | ||
|
||
RUN conan install . --build=missing --profile ./conanprofile --profile:build ./conanprofile --output-folder=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 |
---|---|---|
@@ -1,22 +1,37 @@ | ||
FROM ubuntu:22.04 | ||
FROM ubuntu:23.10 | ||
|
||
ARG TARGETPLATFORM | ||
|
||
WORKDIR /src | ||
|
||
RUN apt update \ | ||
&& apt install -y \ | ||
cmake=3.22.1-1ubuntu1.22.04.2 \ | ||
python3-pip=22.0.2+dfsg-1ubuntu0.4 \ | ||
software-properties-common=0.99.22.9 \ | ||
wget=1.21.2-2ubuntu1 \ | ||
gnupg=2.2.27-3ubuntu2.1 \ | ||
lsb-release=11.1.0ubuntu4 \ | ||
cmake \ | ||
software-properties-common \ | ||
wget \ | ||
gnupg \ | ||
lsb-release \ | ||
pipx \ | ||
&& wget -qO- https://apt.llvm.org/llvm-snapshot.gpg.key | tee /etc/apt/trusted.gpg.d/apt.llvm.org.asc \ | ||
&& add-apt-repository 'deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy main' \ | ||
&& apt install -y clang-tidy-19 | ||
&& add-apt-repository 'deb http://apt.llvm.org/mantic/ llvm-toolchain-mantic main' \ | ||
&& apt update \ | ||
&& apt install -y clang-tidy-19 \ | ||
&& apt-get clean | ||
|
||
ENV PATH="/root/.local/bin:$PATH" | ||
RUN pipx install conan --pip-args="--no-cache-dir" --system-site-packages | ||
|
||
COPY conanfile.py conanprofile.docker conanprofile.docker_arm ./ | ||
|
||
RUN if [ "$TARGETPLATFORM" = "linux/arm64" ]; then \ | ||
mv conanprofile.docker_arm conanprofile; \ | ||
else \ | ||
mv conanprofile.docker conanprofile; \ | ||
fi | ||
|
||
|
||
RUN pip install conan==2.0.17 | ||
RUN apt-get update && apt-get install -y gcc g++ | ||
|
||
COPY conanfile.py conanprofile.docker ./ | ||
RUN mv conanprofile.docker conanprofile | ||
RUN gcc --version | ||
|
||
RUN conan install . --build=missing --profile ./conanprofile --profile:build ./conanprofile --output-folder=build -s build_type=Debug |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[settings] | ||
os=Macos | ||
arch=armv8 | ||
compiler=gcc | ||
compiler.libcxx=libstdc++11 | ||
compiler.version=12.2 | ||
build_type=Release | ||
[options] |
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,5 +1,6 @@ | ||
#pragma once | ||
|
||
#include <cstdint> | ||
#include <optional> | ||
#include <string> | ||
#include <string_view> | ||
|
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