Skip to content

Commit 5fde4fa

Browse files
committed
swap ubuntu runners to latest to fix CI issues with deprecation
Signed-off-by: Andrey Parfenov <a1994ndrey@gmail.com>
1 parent 389e3af commit 5fde4fa

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

.github/workflows/run_libftdi.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
fail-fast: false
1111
max-parallel: 4
1212
matrix:
13-
os: [ubuntu-20.04]
13+
os: [ubuntu-latest]
1414

1515
steps:
1616
# compile and prepare env
@@ -22,7 +22,7 @@ jobs:
2222
python-version: '3.7.7'
2323
architecture: 'x64'
2424
- name: Install Ubuntu Dependencies
25-
if: (matrix.os == 'ubuntu-20.04')
25+
if: (matrix.os == 'ubuntu-latest')
2626
run: |
2727
sudo -H apt-get update -y
2828
sudo -H apt-get install -y python3-setuptools python3-pygments libftdi1-dev

.github/workflows/run_matlab.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on: [push, pull_request]
55

66
jobs:
77
RunMatlabLinux:
8-
runs-on: ubuntu-20.04
8+
runs-on: ubuntu-latest
99

1010
steps:
1111
- name: Check out repository

.github/workflows/run_unix.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
fail-fast: false
1111
max-parallel: 4
1212
matrix:
13-
os: [ubuntu-20.04, macos-13]
13+
os: [ubuntu-latest, macos-13]
1414

1515
steps:
1616
# compile and prepare env
@@ -31,7 +31,7 @@ jobs:
3131
python-version: '3.7.7'
3232
architecture: 'x64'
3333
- name: Install Python Dependencies
34-
if: (matrix.os == 'ubuntu-20.04')
34+
if: (matrix.os == 'ubuntu-latest')
3535
run: |
3636
sudo -H apt-get update -y
3737
sudo -H apt-get install -y python3-setuptools python3-pygments libbluetooth-dev
@@ -81,7 +81,7 @@ jobs:
8181
env:
8282
BRAINFLOW_VERSION: ${{ steps.version.outputs.version }}
8383
- name: Compile BrainFlow Ubuntu
84-
if: (matrix.os == 'ubuntu-20.04')
84+
if: (matrix.os == 'ubuntu-latest')
8585
run: |
8686
mkdir $GITHUB_WORKSPACE/build
8787
cd $GITHUB_WORKSPACE/build
@@ -92,7 +92,7 @@ jobs:
9292
BRAINFLOW_VERSION: ${{ steps.version.outputs.version }}
9393
- name: Compile BrainFlow in ManyLinux
9494
# bindings in production have to use libraries compiled inside this image!
95-
if: (matrix.os == 'ubuntu-20.04')
95+
if: (matrix.os == 'ubuntu-latest')
9696
run: |
9797
docker pull dockcross/manylinux_2_28-x64:20240418-88c04a4
9898
docker run -e BRAINFLOW_VERSION=$BRAINFLOW_VERSION -e GITHUB_WORKSPACE=$GITHUB_WORKSPACE -v $GITHUB_WORKSPACE:$GITHUB_WORKSPACE dockcross/manylinux_2_28-x64:20240418-88c04a4 /bin/bash -c "yum install -y bluez-libs-devel dbus-devel && /opt/python/cp36-cp36m/bin/pip3.6 install cmake==3.21.4 && cd $GITHUB_WORKSPACE && mkdir build_docker && cd build_docker && /opt/_internal/cpython-3.6.15/bin/cmake -DBRAINFLOW_VERSION=$BRAINFLOW_VERSION -DBUILD_ONNX=ON -DBUILD_BLE=ON -DBUILD_BLUETOOTH=ON -DCMAKE_INSTALL_PREFIX=$GITHUB_WORKSPACE/installed_docker -DCMAKE_BUILD_TYPE=Release .. && make && make install"
@@ -176,7 +176,7 @@ jobs:
176176
LD_LIBRARY_PATH: ${{ github.workspace }}/installed/lib
177177
DYLD_LIBRARY_PATH: ${{ github.workspace }}/installed/lib
178178
- name: Synthetic C# Test Ubuntu
179-
if: (matrix.os == 'ubuntu-20.04')
179+
if: (matrix.os == 'ubuntu-latest')
180180
run: |
181181
cd $GITHUB_WORKSPACE/csharp_package/brainflow/examples/brainflow_get_data/bin/Release/net7.0
182182
./brainflow_get_data --board-id -1
@@ -185,7 +185,7 @@ jobs:
185185
LD_LIBRARY_PATH: ${{ github.workspace }}/installed/lib
186186
DYLD_LIBRARY_PATH: ${{ github.workspace }}/installed/lib
187187
- name: EEG Metrics C# Test Ubuntu
188-
if: (matrix.os == 'ubuntu-20.04')
188+
if: (matrix.os == 'ubuntu-latest')
189189
run: |
190190
cd $GITHUB_WORKSPACE/csharp_package/brainflow/examples/eeg_metrics/bin/Release/net7.0
191191
./eeg_metrics --board-id -1
@@ -364,7 +364,7 @@ jobs:
364364
env:
365365
LD_LIBRARY_PATH: ${{ github.workspace }}/installed/lib
366366
- name: EEG Metrics Cpp Dyn Lib
367-
if: (matrix.os == 'ubuntu-20.04')
367+
if: (matrix.os == 'ubuntu-latest')
368368
run: $GITHUB_WORKSPACE/cpp_package/examples/ml/build/eeg_metrics_ci --board-id -1 --metric 2 --classifier 1 --model-file $GITHUB_WORKSPACE/cpp_package/examples/ml/build/libdyn_lib_test.so
369369
env:
370370
LD_LIBRARY_PATH: ${{ github.workspace }}/installed/lib
@@ -406,7 +406,7 @@ jobs:
406406
- name: Install AWS CLI
407407
run: sudo -H python3 -m pip install awscli==1.21.10
408408
- name: Push Libraries Linux Docker
409-
if: ${{ github.event_name == 'push' && matrix.os == 'ubuntu-20.04' && github.repository == 'brainflow-dev/brainflow' }}
409+
if: ${{ github.event_name == 'push' && matrix.os == 'ubuntu-latest' && github.repository == 'brainflow-dev/brainflow' }}
410410
run: |
411411
aws s3 cp $GITHUB_WORKSPACE/installed_docker/lib/ s3://brainflow/$GITHUB_SHA/linux --recursive
412412
env:

.github/workflows/valgrind.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
fail-fast: false
1111
max-parallel: 4
1212
matrix:
13-
os: [ubuntu-20.04]
13+
os: [ubuntu-latest]
1414

1515
steps:
1616
# compile and prepare env

0 commit comments

Comments
 (0)