1515 build :
1616 runs-on : ${{ matrix.os }}
1717 container : ${{ matrix.container && matrix.container || '' }}
18+ env :
19+ APIKEY : ${{ secrets.APIKEY }}
1820 name : ${{ matrix.name }}${{ matrix.arch && format('-{0}', matrix.arch) || '' }}${{ matrix.variant && format('-{0}', matrix.variant) || '' }} build${{ matrix.skip_test != true && ( matrix.name != 'android' || matrix.arch == 'x86_64' ) && ' + test' || ''}}
1921 timeout-minutes : 60
2022 strategy :
@@ -362,6 +364,10 @@ jobs:
362364 make build/unittest ${{ matrix.make }} SQLITE_AMALGAM=${SQLITE_DIR}/sqlite3.c
363365 echo "::endgroup::"
364366
367+ echo "::group::build e2e binary for android"
368+ make build/e2e ${{ matrix.make }} SQLITE_AMALGAM=${SQLITE_DIR}/sqlite3.c
369+ echo "::endgroup::"
370+
365371 - name : android test sqlite-memory
366372 if : matrix.name == 'android' && matrix.arch == 'x86_64'
367373 uses : reactivecircus/android-emulator-runner@v2.34.0
@@ -382,6 +388,14 @@ jobs:
382388 echo "Testing extension loading..."
383389 adb shell "sqlite3 :memory: '.load /data/local/tmp/memory.so' 'SELECT memory_version();'"
384390 echo "Extension loading test passed!"
391+ if [ "${{ matrix.variant }}" != "local" ]; then
392+ adb push ${{ github.workspace }}/build/e2e /data/local/tmp/
393+ adb push ${{ github.workspace }}/build/vector.so /data/local/tmp/
394+ adb shell "chmod +x /data/local/tmp/e2e"
395+ echo "Running e2e tests..."
396+ adb shell "APIKEY=$APIKEY VECTOR_LIB=/data/local/tmp/vector /data/local/tmp/e2e"
397+ echo "E2E tests passed!"
398+ fi
385399
386400 - name : unix test sqlite-memory
387401 if : matrix.skip_test != true && matrix.os != 'windows-2022' && matrix.name != 'android'
@@ -392,6 +406,15 @@ jobs:
392406 shell : msys2 {0}
393407 run : make test ${{ matrix.make && matrix.make || ''}}
394408
409+ - name : unix e2e sqlite-memory
410+ if : matrix.skip_test != true && matrix.variant != 'local' && matrix.os != 'windows-2022' && matrix.name != 'android'
411+ run : ${{ matrix.name == 'linux-musl' && matrix.arch == 'arm64' && 'docker exec alpine' || '' }} make e2e ${{ matrix.make && matrix.make || ''}}
412+
413+ - name : windows e2e sqlite-memory
414+ if : matrix.skip_test != true && matrix.variant != 'local' && matrix.name == 'windows'
415+ shell : msys2 {0}
416+ run : make e2e ${{ matrix.make && matrix.make || ''}}
417+
395418 - uses : actions/upload-artifact@v4.6.2
396419 if : always()
397420 with :
0 commit comments