diff options
| author | Marco Rodolfi <marco.rodolfi@tuta.io> | 2023-07-27 18:47:46 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-27 18:47:46 +0200 |
| commit | d4a76da78c63bfddebf93cebd8dafc7677d193f3 (patch) | |
| tree | 4f4e9fa0d212e07de3396194229c06b2db4540e2 /.github | |
| parent | c7e4eb1b3fc5dcf62919a8f2fa2fbe277edd4ad7 (diff) | |
| download | decky-loader-d4a76da78c63bfddebf93cebd8dafc7677d193f3.tar.gz decky-loader-d4a76da78c63bfddebf93cebd8dafc7677d193f3.zip | |
[Need Testing] Actually fix sqlite 3 issues (#515)v2.10.4-pre5
* Properly fix sqlite issues
* Revert python downgrade
* Horrible hack to update SQLite to the latest version in the Ubuntu VMs
* Cleanup build script
* Fix yaml formatting
* Fix typos
* Use sudo for installing binary
* Fix library path
* Wrong naming
* Wrong name again
* Small stylisting fixes
* Missed a space
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/build.yml | 27 |
1 files changed, 22 insertions, 5 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 85bb172d..d4bf37a0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -47,11 +47,28 @@ jobs: with: node-version: 18 - - name: Set up Python 3.10.6 🐍 + - name: Set up Python 3.11.4 🐍 uses: actions/setup-python@v4 with: - python-version: "3.10.6" - + python-version: "3.11.4" + + - name: Upgrade SQLite 3 binary version to 3.42.0 🧑💻 + run: > + cd /tmp && + wget "https://www.sqlite.org/2023/sqlite-autoconf-3420000.tar.gz" && + tar -xvzf sqlite-autoconf-3420000.tar.gz && + cd /tmp/sqlite-autoconf-3420000 && + ./configure --prefix=/usr --disable-static CFLAGS="-g" CPPFLAGS="$CPPFLAGS -DSQLITE_ENABLE_COLUMN_METADATA=1 \ + -DSQLITE_ENABLE_UNLOCK_NOTIFY -DSQLITE_ENABLE_DBSTAT_VTAB=1 -DSQLITE_ENABLE_FTS3_TOKENIZER=1 \ + -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_SECURE_DELETE -DSQLITE_ENABLE_STMTVTAB -DSQLITE_MAX_VARIABLE_NUMBER=250000 \ + -DSQLITE_MAX_EXPR_DEPTH=10000 -DSQLITE_ENABLE_MATH_FUNCTIONS" && + make && + sudo make install && + sudo cp /usr/lib/libsqlite3.so /usr/lib/x86_64-linux-gnu/ && + sudo cp /usr/lib/libsqlite3.so.0 /usr/lib/x86_64-linux-gnu/ && + sudo cp /usr/lib/libsqlite3.so.0.8.6 /usr/lib/x86_64-linux-gnu/ && + rm -r /tmp/sqlite-autoconf-3420000 + - name: Install Python dependencies ⬇️ run: | python -m pip install --upgrade pip @@ -97,10 +114,10 @@ jobs: with: node-version: 18 - - name: Set up Python 3.10.6 🐍 + - name: Set up Python 3.11.4 🐍 uses: actions/setup-python@v4 with: - python-version: "3.10.6" + python-version: "3.11.4" - name: Install Python dependencies ⬇️ run: | |
