From 0bce6e81738980bea4d26c553769fbbc36a7a006 Mon Sep 17 00:00:00 2001 From: Efim Poberezkin Date: Tue, 2 Mar 2021 22:30:59 +0400 Subject: [PATCH] check that sqlite library is compiled with threadsafe code (#63) --- workflows/build.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/workflows/build.yml b/workflows/build.yml index 01b06da82d..9fe1ba7ad0 100644 --- a/workflows/build.yml +++ b/workflows/build.yml @@ -30,5 +30,10 @@ jobs: path: ~/.stack key: ${{ runner.os }}-${{ hashFiles('stack.yaml') }} + - name: Log SQLite default threading mode + run: | + sqlite3 test.db "pragma COMPILE_OPTIONS;" | grep THREADSAFE + rm test.db + - name: Build and run tests run: stack build --test