Skip to content

Commit

Permalink
Try upgrading sqlite
Browse files Browse the repository at this point in the history
  • Loading branch information
anamileva committed Oct 30, 2024
1 parent 756d7a2 commit 5052e8f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test_gridpath.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: If in ubuntu, Install sqlite3 3.45.0
if: ${{ matrix.os == 'ubuntu-latest' }}
run: |
bash ./upgrade_sqlite_on_linux.sh
- name: Set up Python
uses: actions/setup-python@v3
with:
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/upgrade_sqlite_on_linux.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# required to support UNIXEPOCH
# installing build: 3.45.0
wget https://www.sqlite.org/2024/sqlite-autoconf-3450000.tar.gz
# unzipping build
tar -xvzf sqlite-autoconf-3450000.tar.gz

# below steps are for installing the build in /usr/local/bin
cd sqlite-autoconf-3450000 || exit
./configure
make
sudo make install

# remove the previous version
sudo apt-get remove -y --auto-remove sqlite3

0 comments on commit 5052e8f

Please sign in to comment.