Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperFola committed Sep 23, 2024
1 parent 27b2d50 commit 247aa1c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ jobs:
compiler_version: 16
sanitizers: On
coverage: On
with_deps: true
with_deps: false

- name: Run tests
run: |
Expand Down
13 changes: 10 additions & 3 deletions .github/workflows/setup-compilers/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ runs:
run: |
sudo apt-get install -y clang-${{ inputs.compiler_version }} lld-${{ inputs.compiler_version }} \
libc++-${{ inputs.compiler_version }}-dev libc++abi-${{ inputs.compiler_version }}-dev \
clang-tools-${{ inputs.compiler_version }}
clang-tools-${{ inputs.compiler_version }} llvm-${{ inputs.compiler_version }}
- name: Update LLVM compilers
if: startsWith(inputs.os_name, 'macos')
Expand Down Expand Up @@ -93,13 +93,16 @@ runs:
if [[ '${{ startsWith(inputs.os_name, 'macos') }}' == 'true' ]]; then
export OPENSSL_ROOT_DIR=/usr/local/opt/openssl/
fi
ToggleModules=$([[ '${{ inputs.with_deps }}' == 'true' ]] && echo 'On' || echo 'Off')
cmake -Bbuild \
-DCMAKE_BUILD_TYPE=$BUILD_TYPE \
-DCMAKE_C_COMPILER=${{ steps.compilers.outputs.cc }} \
-DCMAKE_CXX_COMPILER=${{ steps.compilers.outputs.cxx }} \
-DARK_SANITIZERS=${{ inputs.sanitizers }} \
-DARK_COVERAGE=${{ inputs.coverage }} \
-DARK_BUILD_EXE=On -DARK_BUILD_MODULES=On -DARK_MOD_ALL=On -DARK_MOD_DRAFT=On -DARK_TESTS=On
-DARK_BUILD_EXE=On \
-DARK_BUILD_MODULES=$ToggleModules -DARK_MOD_ALL=$ToggleModules -DARK_MOD_DRAFT=$ToggleModules \
-DARK_TESTS=On
cmake --build build --config $BUILD_TYPE -j $(nproc)
- name: Configure CMake Ark
Expand All @@ -109,10 +112,14 @@ runs:
if [[ '${{ inputs.with_deps }}' == 'true' ]]; then
additional_args="-DSQLite3_INCLUDE_DIR=$(pwd)/sqlite_code/sqlite-amalgamation-${SQLITE_VERSION} -DSQLite3_LIBRARY=$(pwd)/sqlite_lib/sqlite3.lib"
fi
ToggleModules=$([[ '${{ inputs.with_deps }}' == 'true' ]] && echo 'On' || echo 'Off')
cmake -Bbuild \
-G "Visual Studio 17 2022" -T v143 \
-DCMAKE_BUILD_TYPE=$BUILD_TYPE \
-DARK_SANITIZERS=${{ matrix.config.sanitizers }} \
-DARK_COVERAGE=${{ inputs.coverage }} \
-DARK_BUILD_EXE=On -DARK_BUILD_MODULES=On -DARK_MOD_ALL=On -DARK_MOD_DRAFT=On -DARK_TESTS=On $additional_args
-DARK_BUILD_EXE=On \
-DARK_BUILD_MODULES=$ToggleModules -DARK_MOD_ALL=$ToggleModules -DARK_MOD_DRAFT=$ToggleModules \
-DARK_TESTS=On \
$additional_args
cmake --build build --config $BUILD_TYPE -j $(nproc)

0 comments on commit 247aa1c

Please sign in to comment.