Fixed config.
h3rald h3rald@h3rald.com
Sat, 26 Aug 2023 07:16:05 +0000
3 files changed,
13 insertions(+),
7 deletions(-)
M
.github/workflows/add-artifacts-to-current-release.yml
→
.github/workflows/add-artifacts-to-current-release.yml
@@ -76,13 +76,13 @@ if: matrix.os == 'windows-latest'
# Build for Linux - name: Build (Linux) - run: nimble build -v -y --passL:-static -d:release --gcc.exe:musl-gcc --gcc.linkerexe:musl-gcc --mm:refc --dynLibOverride:sqlite3 --opt:size litestore + run: nimble build -v -y --passL:-static -d:release --gcc.exe:musl-gcc --gcc.linkerexe:musl-gcc --mm:refc --opt:size litestore if: matrix.os == 'ubuntu-latest' # Build for macOS/Windows - name: Build (macOS, Windows) shell: bash - run: nimble build -v -y -d:release --mm:refc --dynLibOverride:sqlite3 --opt:size litestore + run: nimble build -v -y -d:release --mm:ref --opt:size litestore if: matrix.os == 'macos-latest' || matrix.os == 'windows-latest' # Import admin directory and create default db
M
.github/workflows/ci.yml
→
.github/workflows/ci.yml
@@ -40,4 +40,4 @@ curl https://nim-lang.org/choosenim/init.sh -sSf > init.sh
sh init.sh -y - name: Build - run: nimble build -y -d:release --gcc.exe:musl-gcc --gcc.linkerexe:musl-gcc --mm:refc --dynLibOverride:sqlite3 + run: nimble build -y -d:release --gcc.exe:musl-gcc --gcc.linkerexe:musl-gcc --mm:refc
M
src/litestore.nim.cfg
→
src/litestore.nim.cfg
@@ -15,7 +15,13 @@ amd64.linux.gcc.path = "/usr/local/bin"
amd64.linux.gcc.exe = "x86_64-linux-musl-gcc" amd64.linux.gcc.linkerexe = "x86_64-linux-musl-gcc" ---mm = "refc" ---opt = "size" ---dynLibOverride = "sqlite3" ---threadAnalysis = "off" +mm:refc +opt:size + +@if windows: + dynLibOverride:sqlite3_64 +@else: + dynLibOverride:sqlite3 +@end + +threadAnalysis:off