File tree Expand file tree Collapse file tree 3 files changed +26
-4
lines changed Expand file tree Collapse file tree 3 files changed +26
-4
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,13 @@ mkdir -p tools/
18
18
[ -d " tools/binaryen-version" * ] || curl -#L " $BINARYEN " | tar xzC tools &
19
19
wait
20
20
21
- sqlite3/download.sh # Download SQLite
22
- embed/build.sh # Build Wasm
23
- git diff --exit-code # Check diffs
21
+ # Download and build SQLite
22
+ sqlite3/download.sh
23
+ embed/build.sh
24
+
25
+ # Download and build sqlite-createtable-parser
26
+ util/vtabutil/parse/download.sh
27
+ util/vtabutil/parse/build.sh
28
+
29
+ # Check diffs
30
+ git diff --exit-code
Original file line number Diff line number Diff line change @@ -3,6 +3,11 @@ name: Reproducible build
3
3
on :
4
4
workflow_dispatch :
5
5
6
+ permissions :
7
+ contents : read
8
+ id-token : write
9
+ attestations : write
10
+
6
11
jobs :
7
12
build :
8
13
strategy :
17
22
18
23
- name : Build
19
24
run : .github/workflows/repro.sh
25
+
26
+ - uses : actions/attest-build-provenance@v1
27
+ if : matrix.os == 'ubuntu-latest'
28
+ with :
29
+ subject-path : |
30
+ embed/sqlite3.wasm
31
+ util/vtabutil/parse/sql3parse_table.wasm
Original file line number Diff line number Diff line change @@ -24,4 +24,7 @@ See the [configuration options](../sqlite3/sqlite_cfg.h),
24
24
and [ patches] ( ../sqlite3 ) applied.
25
25
26
26
Built using [ ` wasi-sdk ` ] ( https://github.com/WebAssembly/wasi-sdk ) ,
27
- and [ ` binaryen ` ] ( https://github.com/WebAssembly/binaryen ) .
27
+ and [ ` binaryen ` ] ( https://github.com/WebAssembly/binaryen ) .
28
+
29
+ The build is easily reproducible, and verifiable, using
30
+ [ Artifact Attestations] ( https://github.com/ncruces/go-sqlite3/attestations ) .
You can’t perform that action at this time.
0 commit comments