File tree Expand file tree Collapse file tree 5 files changed +24
-13
lines changed
sqliter-driver/src/nativeInterop/cinterop Expand file tree Collapse file tree 5 files changed +24
-13
lines changed Original file line number Diff line number Diff line change 1818 runs-on : ${{matrix.os}}
1919 steps :
2020 - name : Checkout the repo
21- uses : actions/checkout@v2
21+ uses : actions/checkout@v4
2222
2323 - name : Install msys2
2424 if : matrix.os == 'windows-latest'
@@ -32,15 +32,15 @@ jobs:
3232 uses : gradle/wrapper-validation-action@v1
3333
3434 - name : Cache gradle
35- uses : actions/cache@v2
35+ uses : actions/cache@v4
3636 with :
3737 path : ~/.gradle/caches
3838 key : ${{ runner.os }}-gradle-${{ hashFiles('*.gradle.kts') }}
3939 restore-keys : |
4040 ${{ runner.os }}-gradle-
4141
4242 - name : Cache konan
43- uses : actions/cache@v2
43+ uses : actions/cache@v4
4444 with :
4545 path : ~/.konan
4646 key : ${{ runner.os }}-gradle-${{ hashFiles('*.gradle.kts') }}
5656 - name : Build
5757 run : ./gradlew build --no-daemon --stacktrace
5858env :
59- GRADLE_OPTS : -Dorg.gradle.configureondemand=true -Dkotlin.incremental=false -Dorg.gradle.jvmargs="-Xmx3g -XX:MaxPermSize=2048m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:MaxMetaspaceSize=512m"
59+ GRADLE_OPTS : -Dorg.gradle.configureondemand=true -Dkotlin.incremental=false -Dorg.gradle.jvmargs="-Xmx4g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:MaxMetaspaceSize=512m"
Original file line number Diff line number Diff line change 66 runs-on : macos-latest
77 steps :
88 - name : Checkout the repo
9- uses : actions/checkout@v3
9+ uses : actions/checkout@v4
1010
1111 - uses : actions/setup-java@v2
1212 with :
@@ -15,15 +15,15 @@ jobs:
1515 - name : Validate Gradle Wrapper
1616 uses : gradle/wrapper-validation-action@v1
1717 - name : Cache gradle
18- uses : actions/cache@v2
18+ uses : actions/cache@v4
1919 with :
2020 path : ~/.gradle/caches
2121 key : ${{ runner.os }}-gradle-${{ hashFiles('*.gradle.kts') }}
2222 restore-keys : |
2323 ${{ runner.os }}-gradle-
2424
2525 - name : Cache konan
26- uses : actions/cache@v2
26+ uses : actions/cache@v4
2727 with :
2828 path : ~/.konan
2929 key : ${{ runner.os }}-gradle-${{ hashFiles('*.gradle.kts') }}
4141 ORG_GRADLE_PROJECT_signingInMemoryKey : ${{ secrets.SIGNING_KEY }}
4242
4343env :
44- GRADLE_OPTS : -Dkotlin.incremental=false -Dorg.gradle.jvmargs="-Xmx3g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:MaxMetaspaceSize=512m"
44+ GRADLE_OPTS : -Dkotlin.incremental=false -Dorg.gradle.jvmargs="-Xmx4g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:MaxMetaspaceSize=512m"
Original file line number Diff line number Diff line change 66 runs-on : macos-latest
77 steps :
88 - name : Checkout the repo
9- uses : actions/checkout@v3
9+ uses : actions/checkout@v4
1010
1111 -
uses :
touchlab/[email protected] 1212 id : version-name
@@ -24,15 +24,15 @@ jobs:
2424 - name : Validate Gradle Wrapper
2525 uses : gradle/wrapper-validation-action@v1
2626 - name : Cache gradle
27- uses : actions/cache@v2
27+ uses : actions/cache@v4
2828 with :
2929 path : ~/.gradle/caches
3030 key : ${{ runner.os }}-gradle-${{ hashFiles('*.gradle.kts') }}
3131 restore-keys : |
3232 ${{ runner.os }}-gradle-
3333
3434 - name : Cache konan
35- uses : actions/cache@v2
35+ uses : actions/cache@v4
3636 with :
3737 path : ~/.konan
3838 key : ${{ runner.os }}-gradle-${{ hashFiles('*.gradle.kts') }}
5656 tag : ${{ steps.version-name.outputs.propVal }}
5757
5858env :
59- GRADLE_OPTS : -Dkotlin.incremental=false -Dorg.gradle.jvmargs="-Xmx3g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:MaxMetaspaceSize=512m"
59+ GRADLE_OPTS : -Dkotlin.incremental=false -Dorg.gradle.jvmargs="-Xmx4g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:MaxMetaspaceSize=512m"
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ kotlin.code.style=official
22
33GROUP =co.touchlab
44
5- VERSION_NAME =1.3.1
5+ VERSION_NAME =1.3.2
66KOTLIN_VERSION =1.9.20
77
88kotlin.native.ignoreDisabledTargets =true
Original file line number Diff line number Diff line change @@ -6,3 +6,14 @@ linkerOpts.linux_x64 = -lpthread -ldl
66linkerOpts.macos_x64 = -lpthread -ldl
77
88noStringConversion = sqlite3_prepare_v2 sqlite3_prepare_v3
9+
10+ # These functions aren't guaranteed to be callable and we don't use them. The functions listed here
11+ # come from:
12+ # - mutex_held / mutex_notheld: Debug only, https://sqlite.org/c3ref/mutex_held.html
13+ # - column database / table / origin name: Opt-in, https://sqlite.org/c3ref/column_database_name.html
14+ # - sqlite3_normalized_sql: Opt-in, https://sqlite.org/c3ref/expanded_sql.html
15+ # - Snapshots: Opt-in, https://sqlite.org/compile.html#enable_snapshot
16+ # - Scanstatus: Opt-in, https://sqlite.org/c3ref/stmt_scanstatus.html
17+ # - sqlite3_unlock_notify: Opt-in, https://sqlite.org/unlock_notify.html
18+ # - win32: Platform-specific, not used here, https://sqlite.org/c3ref/win32_set_directory.html
19+ excludedFunctions = sqlite3_mutex_held sqlite3_mutex_notheld sqlite3_column_database_name sqlite3_column_database_name16 sqlite3_column_table_name sqlite3_column_table_name16 sqlite3_column_origin_name sqlite3_column_origin_name16 sqlite3_normalized_sql sqlite3_snapshot_get sqlite3_snapshot_free sqlite3_snapshot_open sqlite3_snapshot_cmp sqlite3_snapshot_recover sqlite3_stmt_scanstatus sqlite3_stmt_scanstatus_reset sqlite3_unlock_notify sqlite3_win32_set_directory sqlite3_win32_set_directory8 sqlite3_win32_set_directory16
You can’t perform that action at this time.
0 commit comments