Skip to content

Commit

Permalink
Test linking with builtin libsqlite3-dev package on Ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
SRombauts committed Aug 18, 2024
1 parent 00d9dba commit 382e909
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/cmake_builtin_lib.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Test SQLite3 builtin library

on: [push, pull_request]

jobs:
build:
name: "Ubuntu Latest"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
config:
- {
name: "Ubuntu Latest GCC",
os: ubuntu-latest,
generator: "Unix Makefiles",
}
- {
name: "macOS Latest Clang",
os: macos-latest,
generator: "Unix Makefiles",
}

steps:
- runs: sudo apt update && sudo apt install -y libsqlite3-dev
- name: Checkout ${{ github.ref_name }}
uses: actions/checkout@v4
- run: git submodule update --init --recursive
- run: mkdir build
- run: cmake -G "Unix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=Debug -DSQLITECPP_INTERNAL_SQLITE=OFF -DSQLITECPP_BUILD_TESTS=ON -DSQLITECPP_BUILD_EXAMPLES=ON -DSQLITECPP_RUN_CPPCHECK=OFF -DSQLITECPP_RUN_CPPLINT=OFF ..
working-directory: build
- run: cmake --build build --config Debug
- run: ctest --verbose --output-on-failure --test-dir build

0 comments on commit 382e909

Please sign in to comment.