Fix issue #166, check parameter legacy_page_size #149
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI for SQLite3 Multiple Ciphers | |
on: | |
push: | |
branches: | |
- main | |
- register-dynamic-cipher | |
pull_request: | |
branches: | |
- main | |
jobs: | |
host_x86: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Install dependencies (macOS) | |
run: brew install automake | |
if: matrix.os == 'macos-latest' | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Configure | |
run: | | |
autoreconf | |
./configure | |
- name: Build | |
run: | | |
make | |
- name: Testing | |
run: | | |
./sqlite3shell test1.db3 ".read test/test1.sql" | |
./sqlite3shell test2.db3 ".read test/test2.sql" | |
./sqlite3shell dummy.db3 ".read test/sqlciphertest.sql" | |
host_arm: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
arch: [armv7, aarch64] | |
cc_compiler: [gcc, clang] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2.4.0 | |
- name: Build artifact | |
# The Github Action for non-x86 CPU | |
# https://github.com/uraimo/run-on-arch-action | |
uses: uraimo/run-on-arch-action@v2.1.1 | |
with: | |
arch: ${{ matrix.arch }} | |
distro: ubuntu20.04 | |
env: | | |
CC: ${{ matrix.cc_compiler }} | |
install: | | |
apt-get update -q -y | |
apt-get install -q -y "${{ matrix.cc_compiler }}" make automake | |
run: | | |
autoreconf | |
./configure | |
make | |
./sqlite3shell test1.db3 ".read test/test1.sql" | |
./sqlite3shell test2.db3 ".read test/test2.sql" | |
./sqlite3shell dummy.db3 ".read test/sqlciphertest.sql" |