mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-27 06:20:24 -06:00
AppImage: Build own version of SQLite to have a more recent version
This downloads and build SQLite from source, currently using version 3.38.5, for building the AppImage file. This way we can include a more recent version of SQLite instead of shipping the version from Ubuntu 20.04. See issue #3064.
This commit is contained in:
13
.github/workflows/appimage.yml
vendored
13
.github/workflows/appimage.yml
vendored
@@ -26,7 +26,16 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install qttools5-dev libqt5scintilla2-dev libqcustomplot-dev libsqlite3-dev libqt5svg5 libsqlcipher-dev qt5-default
|
||||
sudo apt-get install qttools5-dev libqt5scintilla2-dev libqcustomplot-dev libqt5svg5 libsqlcipher-dev qt5-default
|
||||
- name: Build SQLite
|
||||
if: matrix.sqlcipher == '0'
|
||||
run: |
|
||||
wget -O sqlite.tar.gz https://sqlite.org/2022/sqlite-autoconf-3380500.tar.gz
|
||||
tar -xzf sqlite.tar.gz
|
||||
cd sqlite-autoconf-*
|
||||
./configure
|
||||
make
|
||||
sudo make install
|
||||
- name: Configure CMake
|
||||
run: |
|
||||
mkdir appbuild
|
||||
@@ -45,7 +54,7 @@ jobs:
|
||||
export VERSION=$(printf "master-`git rev-list HEAD --count`-` git -C . rev-parse --short HEAD`")
|
||||
./linuxdeployqt-continuous-x86_64.AppImage appdir/usr/share/applications/*.desktop -appimage
|
||||
- name: Rename AppImage
|
||||
if: ${{ matrix.sqlcipher == 1 }}
|
||||
if: matrix.sqlcipher == '1'
|
||||
run: |
|
||||
export FILE=$(ls DB_Browser_for_SQLite*.AppImage)
|
||||
export FILE=${FILE/SQLite/SQLCipher}
|
||||
|
||||
Reference in New Issue
Block a user