Skip to content

Commit a9dec9e

Browse files
committed
Test GHA now installs liblsl
1 parent c9143c1 commit a9dec9e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/test.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ on:
88
- main
99
workflow_dispatch:
1010

11+
env:
12+
LSL_RELEASE_URL: "https://github.com/sccn/liblsl/releases/download/v1.16.2"
13+
LSL_RELEASE: "1.16.2"
14+
1115
jobs:
1216
style:
1317
name: Check style
@@ -30,6 +34,12 @@ jobs:
3034
- uses: actions/checkout@v4
3135
- name: Install uv
3236
uses: astral-sh/setup-uv@v4
37+
- name: Install liblsl
38+
run: |
39+
sudo apt install -y libpugixml-dev
40+
echo ${LSL_RELEASE_URL}/liblsl-${LSL_RELEASE}-$(lsb_release -sc)_amd64.deb
41+
curl -L ${LSL_RELEASE_URL}/liblsl-${LSL_RELEASE}-$(lsb_release -sc)_amd64.deb -o liblsl.deb
42+
sudo apt install ./liblsl.deb
3343
- name: Build
3444
run: uv sync --all-extras
3545
- name: Run tests

0 commit comments

Comments
 (0)