Skip to content

Commit 9f1b6a8

Browse files
committed
Remove explicit install of sqlite as on gihub action vm's it's already present
1 parent b438605 commit 9f1b6a8

File tree

3 files changed

+4
-9
lines changed

3 files changed

+4
-9
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,6 @@ jobs:
2424
msystem: MINGW64
2525
update: true
2626
install: git mingw-w64-x86_64-toolchain libsqlite
27-
- name: Install libsqlite3-dev
28-
if: matrix.os == 'ubuntu-latest'
29-
run: |
30-
sudo apt-get update && sudo apt-get install -y libsqlite3-dev && locate sqlite3
3127
- name: Validate Gradle Wrapper
3228
uses: gradle/wrapper-validation-action@v1
3329
- name: Cache gradle

.github/workflows/deploy.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,6 @@ jobs:
2424
msystem: MINGW64
2525
update: true
2626
install: git mingw-w64-x86_64-toolchain libsqlite
27-
- name: Install libsqlite3-dev
28-
if: matrix.os == 'ubuntu-latest'
29-
run: |
30-
sudo apt-get update && sudo apt-get install -y libsqlite3-dev
3127
- name: Validate Gradle Wrapper
3228
uses: gradle/wrapper-validation-action@v1
3329
- name: Cache gradle

sqliter-driver/build.gradle.kts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,10 @@ kotlin {
4343
val test by target.compilations.getting
4444

4545
if (target.name.startsWith("linux")) {
46-
test.kotlinOptions.freeCompilerArgs += listOf("-linker-options", "-lsqlite3 -L/usr/lib/x86_64-linux-gnu")
46+
test.kotlinOptions.freeCompilerArgs += listOf(
47+
"-linker-options",
48+
"-lsqlite3 -L/usr/lib/x86_64-linux-gnu"
49+
) //just /usr/lib for arch
4750
} else {
4851
test.kotlinOptions.freeCompilerArgs += listOf("-linker-options", "-lsqlite3")
4952
}

0 commit comments

Comments
 (0)