Skip to content

Commit ea82319

Browse files
committed
Apply minor adjustments to workflows
- Use commit tag for upload-artifact action - Disable qemu runs
1 parent 6ec5bdc commit ea82319

2 files changed

Lines changed: 36 additions & 36 deletions

File tree

.github/workflows/build-release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ jobs:
390390
# Upload ZIP archive
391391
# -------------------------------------------------
392392
- name: Upload amalgamation
393-
uses: actions/upload-artifact@v7
393+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
394394
with:
395395
name: sqlite3mc-amalgamation
396396
if-no-files-found: error
@@ -592,7 +592,7 @@ jobs:
592592
# Upload AAR Artifact
593593
# -------------------------------------------------
594594
- name: Upload AAR Artifact
595-
uses: actions/upload-artifact@v7
595+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
596596
with:
597597
name: sqlite3mc-android-aar
598598
if-no-files-found: error
@@ -816,7 +816,7 @@ jobs:
816816
# Upload ZIP archive with Windows binaries
817817
# -------------------------------------------------
818818
- name: Upload ZIP artifact
819-
uses: actions/upload-artifact@v7
819+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
820820
with:
821821
name: sqlite3mc-${{ matrix.id }}
822822
path: dist/*.zip
@@ -979,7 +979,7 @@ jobs:
979979
# Upload SQLite amalgamation for comparison
980980
# -------------------------------------------------
981981
- name: Upload SQLite amalgamation for comparison
982-
uses: actions/upload-artifact@v7
982+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
983983
with:
984984
name: sqlite-compare
985985
path: |
@@ -1081,7 +1081,7 @@ jobs:
10811081
# Upload WASM binary ZIP
10821082
# -------------------------------------------------
10831083
- name: Upload build artifact
1084-
uses: actions/upload-artifact@v7
1084+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
10851085
with:
10861086
name: sqlite3mc-wasm
10871087
path: sqlite/ext/wasm/sqlite3mc*.zip
@@ -1157,7 +1157,7 @@ jobs:
11571157
# Upload autoconf release archive
11581158
# -------------------------------------------------
11591159
- name: Upload build artifact
1160-
uses: actions/upload-artifact@v7
1160+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
11611161
with:
11621162
name: sqlite3mc-autoconf
11631163
path: archives/sqlite3mc*.tar.gz

.github/workflows/ci4sqlite3mc.yml

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -40,33 +40,33 @@ jobs:
4040
./sqlite3shell test/persons-ascon128-testkey.db3 ".read test/test4.sql"
4141
./sqlite3shell dummy.db3 ".read test/sqlciphertest.sql"
4242
43-
host_qemu:
44-
runs-on: ubuntu-24.04
45-
strategy:
46-
matrix:
47-
arch: [armv7, aarch64]
48-
cc_compiler: [gcc]
49-
steps:
50-
- name: Checkout
51-
uses: actions/checkout@v7
52-
- name: Build artifact
53-
# The Github Action for non-x86 CPU
54-
# https://github.com/uraimo/run-on-arch-action
55-
uses: uraimo/run-on-arch-action@v3
56-
with:
57-
arch: ${{ matrix.arch }}
58-
distro: ubuntu24.04
59-
env: |
60-
CC: ${{ matrix.cc_compiler }}
61-
install: |
62-
apt-get update -q -y
63-
apt-get install -q -y "${{ matrix.cc_compiler }}" make automake
64-
run: |
65-
autoreconf
66-
./configure
67-
make
68-
./sqlite3shell test1.db3 ".read test/test1.sql"
69-
./sqlite3shell test2.db3 ".read test/test2.sql"
70-
./sqlite3shell test/persons-aegis-testkey.db3 ".read test/test3.sql"
71-
./sqlite3shell test/persons-ascon128-testkey.db3 ".read test/test4.sql"
72-
./sqlite3shell dummy.db3 ".read test/sqlciphertest.sql"
43+
# host_qemu:
44+
# runs-on: ubuntu-24.04
45+
# strategy:
46+
# matrix:
47+
# arch: [armv7, aarch64]
48+
# cc_compiler: [gcc]
49+
# steps:
50+
# - name: Checkout
51+
# uses: actions/checkout@v7
52+
# - name: Build artifact
53+
# # The Github Action for non-x86 CPU
54+
# # https://github.com/uraimo/run-on-arch-action
55+
# uses: uraimo/run-on-arch-action@v3
56+
# with:
57+
# arch: ${{ matrix.arch }}
58+
# distro: ubuntu24.04
59+
# env: |
60+
# CC: ${{ matrix.cc_compiler }}
61+
# install: |
62+
# apt-get update -q -y
63+
# apt-get install -q -y "${{ matrix.cc_compiler }}" make automake
64+
# run: |
65+
# autoreconf
66+
# ./configure
67+
# make
68+
# ./sqlite3shell test1.db3 ".read test/test1.sql"
69+
# ./sqlite3shell test2.db3 ".read test/test2.sql"
70+
# ./sqlite3shell test/persons-aegis-testkey.db3 ".read test/test3.sql"
71+
# ./sqlite3shell test/persons-ascon128-testkey.db3 ".read test/test4.sql"
72+
# ./sqlite3shell dummy.db3 ".read test/sqlciphertest.sql"

0 commit comments

Comments
 (0)