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 18
18
runs-on : ${{matrix.os}}
19
19
steps :
20
20
- name : Checkout the repo
21
- uses : actions/checkout@v2
21
+ uses : actions/checkout@v4
22
22
23
23
- name : Install msys2
24
24
if : matrix.os == 'windows-latest'
@@ -32,15 +32,15 @@ jobs:
32
32
uses : gradle/wrapper-validation-action@v1
33
33
34
34
- name : Cache gradle
35
- uses : actions/cache@v2
35
+ uses : actions/cache@v4
36
36
with :
37
37
path : ~/.gradle/caches
38
38
key : ${{ runner.os }}-gradle-${{ hashFiles('*.gradle.kts') }}
39
39
restore-keys : |
40
40
${{ runner.os }}-gradle-
41
41
42
42
- name : Cache konan
43
- uses : actions/cache@v2
43
+ uses : actions/cache@v4
44
44
with :
45
45
path : ~/.konan
46
46
key : ${{ runner.os }}-gradle-${{ hashFiles('*.gradle.kts') }}
56
56
- name : Build
57
57
run : ./gradlew build --no-daemon --stacktrace
58
58
env :
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 6
6
runs-on : macos-latest
7
7
steps :
8
8
- name : Checkout the repo
9
- uses : actions/checkout@v3
9
+ uses : actions/checkout@v4
10
10
11
11
- uses : actions/setup-java@v2
12
12
with :
@@ -15,15 +15,15 @@ jobs:
15
15
- name : Validate Gradle Wrapper
16
16
uses : gradle/wrapper-validation-action@v1
17
17
- name : Cache gradle
18
- uses : actions/cache@v2
18
+ uses : actions/cache@v4
19
19
with :
20
20
path : ~/.gradle/caches
21
21
key : ${{ runner.os }}-gradle-${{ hashFiles('*.gradle.kts') }}
22
22
restore-keys : |
23
23
${{ runner.os }}-gradle-
24
24
25
25
- name : Cache konan
26
- uses : actions/cache@v2
26
+ uses : actions/cache@v4
27
27
with :
28
28
path : ~/.konan
29
29
key : ${{ runner.os }}-gradle-${{ hashFiles('*.gradle.kts') }}
41
41
ORG_GRADLE_PROJECT_signingInMemoryKey : ${{ secrets.SIGNING_KEY }}
42
42
43
43
env :
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 6
6
runs-on : macos-latest
7
7
steps :
8
8
- name : Checkout the repo
9
- uses : actions/checkout@v3
9
+ uses : actions/checkout@v4
10
10
11
11
-
uses :
touchlab/[email protected]
12
12
id : version-name
@@ -24,15 +24,15 @@ jobs:
24
24
- name : Validate Gradle Wrapper
25
25
uses : gradle/wrapper-validation-action@v1
26
26
- name : Cache gradle
27
- uses : actions/cache@v2
27
+ uses : actions/cache@v4
28
28
with :
29
29
path : ~/.gradle/caches
30
30
key : ${{ runner.os }}-gradle-${{ hashFiles('*.gradle.kts') }}
31
31
restore-keys : |
32
32
${{ runner.os }}-gradle-
33
33
34
34
- name : Cache konan
35
- uses : actions/cache@v2
35
+ uses : actions/cache@v4
36
36
with :
37
37
path : ~/.konan
38
38
key : ${{ runner.os }}-gradle-${{ hashFiles('*.gradle.kts') }}
56
56
tag : ${{ steps.version-name.outputs.propVal }}
57
57
58
58
env :
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
2
2
3
3
GROUP =co.touchlab
4
4
5
- VERSION_NAME =1.3.1
5
+ VERSION_NAME =1.3.2
6
6
KOTLIN_VERSION =1.9.20
7
7
8
8
kotlin.native.ignoreDisabledTargets =true
Original file line number Diff line number Diff line change @@ -6,3 +6,14 @@ linkerOpts.linux_x64 = -lpthread -ldl
6
6
linkerOpts.macos_x64 = -lpthread -ldl
7
7
8
8
noStringConversion = 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