Skip to content

Commit 2013241

Browse files
committed
Install Gammu from source for Linux CI
1 parent e7dff2f commit 2013241

1 file changed

Lines changed: 13 additions & 2 deletions

File tree

.github/workflows/test.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,22 @@ jobs:
3131
with:
3232
python-version: ${{ matrix.python-version }}
3333
- uses: astral-sh/setup-uv@eac588ad8def6316056a12d4907a9d4d84ff7a3b # v7.3.0
34-
- name: Install gammu
34+
- name: apt
3535
if: ${{ matrix.os == 'ubuntu-latest' }}
3636
run: |
3737
sudo apt-get update
38-
sudo apt-get install -y libgammu-dev libdbd-sqlite3
38+
sudo apt-get install -y libbluetooth-dev libusb-1.0-0-dev libgudev-1.0-dev unixodbc-dev libdbi-dev libdbd-sqlite3 libdbd-mysql libdbd-pgsql cmake cmake-data
39+
- name: Install gammu
40+
if: ${{ matrix.os == 'ubuntu-latest' }}
41+
run: |
42+
mkdir _gammu
43+
cd _gammu
44+
curl -LsSf -o gammu.tar.zst "https://github.com/gammu/gammu/releases/download/$GAMMU_VERSION/Gammu-$GAMMU_VERSION.tar.zst"
45+
tar xf gammu.tar.zst
46+
cd Gammu-*
47+
./configure
48+
make
49+
sudo make install
3950
- name: Install Gammu
4051
if: ${{ matrix.os == 'windows-latest' }}
4152
run: |

0 commit comments

Comments
 (0)