Skip to content

Commit

Permalink
build from source
Browse files Browse the repository at this point in the history
  • Loading branch information
jkanche committed May 22, 2024
1 parent 60fed52 commit 7faaf52
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions .github/workflows/pypi-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
build:
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
Expand All @@ -22,13 +22,26 @@ jobs:
python-version: ${{ matrix.python-version }}
cache: "pip"

- name: Update SQLite3
run: sudo apt install -y sqlite3
# - name: Update SQLite3
# run: sudo apt install -y sqlite3

# build SQLite from source, because I need 3.35<=
- run: |
wget https://www.sqlite.org/2024/sqlite-autoconf-3450300.tar.gz
tar -xvf sqlite-autoconf-3450300.tar.gz
- run: |
./configure
make
sudo make install
export PATH="/usr/local/lib:$PATH"
working-directory: sqlite-autoconf-3450300
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 pytest tox
env:
LD_LIBRARY_PATH: /usr/local/lib
# - name: Lint with flake8
# run: |
# # stop the build if there are Python syntax errors or undefined names
Expand All @@ -38,3 +51,5 @@ jobs:
- name: Test with tox
run: |
tox
env:
LD_LIBRARY_PATH: /usr/local/lib

0 comments on commit 7faaf52

Please sign in to comment.