azimafroozeh is building #19
Workflow file for this run
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
name: CI | |
run-name: ${{ github.actor }} is building | |
on: push | |
jobs: | |
check-format: | |
runs-on: [ ubuntu-latest ] | |
steps: | |
- name: echo build | |
run: echo "todo" | |
build: | |
needs: | |
- check-format | |
strategy: | |
fail-fast: true | |
matrix: | |
platform: [ ubuntu-latest, macos-latest ] | |
BUILD_TYPE: [ Debug, Release ] | |
cxx: [ clang++ ] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
- name: Make directory build | |
run: mkdir ${{github.workspace}}/build | |
- name: Configure CMake | |
run: cmake -S ${{github.workspace}} -B ${{github.workspace}}/build | |
env: | |
CXX: ${{ matrix.cxx }} | |
- name: Build | |
run: cmake --build ${{github.workspace}}/build -j 16 | |
test: | |
needs: | |
- build | |
strategy: | |
fail-fast: true | |
matrix: | |
platform: [ ubuntu-latest, macos-latest ] | |
BUILD_TYPE: [ Debug, Release ] | |
cxx: [ clang++ ] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
- name: Make directory build | |
run: mkdir ${{github.workspace}}/build | |
- name: Configure CMake | |
run: cmake -DALP_BUILD_TESTING=ON -S ${{github.workspace}} -B ${{github.workspace}}/build | |
env: | |
CXX: ${{ matrix.cxx }} | |
- name: Build | |
run: cmake --build ${{github.workspace}}/build -j 16 | |
- name: Test | |
working-directory: ${{github.workspace}}/build | |
run: ctest -j 4 --rerun-failed --output-on-failure | |
# -DCMAKE_TOOLCHAIN_FILE=toolchain/m1.cmake | |
build_benchmark: | |
needs: | |
- test | |
strategy: | |
fail-fast: true | |
matrix: | |
platform: [ ubuntu-latest, macos-latest ] | |
BUILD_TYPE: [ Release ] | |
cc: [ clang ] | |
cxx: [ clang++ ] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
- name: mkdir build | |
run: mkdir ${{github.workspace}}/build | |
- name: Configure CMake | |
run: cmake -DALP_BUILD_BENCHMARKING=ON -DALP_BUILD_TESTING=ON -S ${{github.workspace}} -B ${{github.workspace}}/build | |
env: | |
CXX: ${{ matrix.cxx }} | |
- name: Build | |
run: cmake --build ${{github.workspace}}/build -j 16 | |
- name: Test | |
working-directory: ${{github.workspace}}/build | |
run: ctest -j 4 | |
# - name: run bench_alp_cutter_decode | |
# run: ${{github.workspace}}/build/benchmarks/bench/bench_alp_cutter_decode | |
# | |
# - name: run bench_alp_cutter_encode | |
# run: ${{github.workspace}}/build/benchmarks/bench/bench_alp_cutter_encode | |
# | |
# - name: run bench_alp_encode | |
# run: ${{github.workspace}}/build/benchmarks/bench/bench_alp_encode | |
# | |
# - name: run bench_alp_without_sampling | |
# run: ${{github.workspace}}/build/benchmarks/bench/bench_alp_without_sampling | |
# | |
# - name: run bench_chimp | |
# run: ${{github.workspace}}/build/benchmarks/bench/bench_chimp | |
# | |
# - name: run bench_chimp128 | |
# run: ${{github.workspace}}/build/benchmarks/bench/bench_chimp128 | |
# | |
# - name: run bench_gorillas | |
# run: ${{github.workspace}}/build/benchmarks/bench/bench_gorillas | |
# | |
# - name: run bench_patas | |
# run: ${{github.workspace}}/build/benchmarks/bench/bench_patas | |
# | |
# - name: run bench_zstd | |
# run: ${{github.workspace}}/build/benchmarks/bench/bench_zstd | |
build_full_dataset: | |
needs: | |
- test | |
strategy: | |
fail-fast: true | |
matrix: | |
platform: [ ubuntu-latest, macos-latest ] | |
BUILD_TYPE: [ Release ] | |
cc: [ clang ] | |
cxx: [ clang++ ] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
- name: mkdir build | |
run: mkdir ${{github.workspace}}/build | |
- name: Configure CMake | |
run: cmake -DALP_BUILD_BENCHMARKING=ON -DALP_BUILD_TESTING=ON -DALP_BUILD_BENCHMARKING_COMPRESSION_RATIO=ON -S ${{github.workspace}} -B ${{github.workspace}}/build | |
env: | |
CXX: ${{ matrix.cxx }} | |
- name: Build | |
run: cmake --build ${{github.workspace}}/build -j 16 | |
# - name: run alp | |
# run: ${{github.workspace}}/build/benchmarks/bench_compression_ratio/bench_alp_compression_ratio | |
# | |
# - name: run alp32 | |
# run: ${{github.workspace}}/build/benchmarks/bench_compression_ratio/bench_alp32_compression_ratio | |
# | |
# - name: run zstd | |
# run: ${{github.workspace}}/build/benchmarks/bench_compression_ratio/bench_zstd_compression_ratio | |