Skip to content

Commit c317b90

Browse files
committed
change macos runners
Signed-off-by: Andrey Parfenov <[email protected]>
1 parent 77b0333 commit c317b90

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

.github/workflows/deploy_cpp_libs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
max-parallel: 16
6060
matrix:
6161
build_type: [Release, Debug]
62-
os: [ubuntu-latest, macos-14-large]
62+
os: [ubuntu-latest, macos-14]
6363

6464
steps:
6565
- name: Clone Repository
@@ -69,13 +69,13 @@ jobs:
6969
with:
7070
cmake-version: '3.21.x'
7171
- name: Install Ninja
72-
if: (matrix.os == 'macos-14-large')
72+
if: (matrix.os == 'macos-14')
7373
uses: seanmiddleditch/gha-setup-ninja@master
7474
with:
7575
version: 1.10.2
7676
# build simpleble outside from brainflow because of different deployment targets
7777
- name: Compile SimpleBLE MacOS
78-
if: (matrix.os == 'macos-14-large')
78+
if: (matrix.os == 'macos-14')
7979
run: |
8080
mkdir $GITHUB_WORKSPACE/third_party/SimpleBLE/simpleble/build
8181
cd $GITHUB_WORKSPACE/third_party/SimpleBLE/simpleble/build
@@ -86,7 +86,7 @@ jobs:
8686
env:
8787
BUILD: ${{ matrix.build_type }}
8888
- name: Compile BrainFlow for MacOS
89-
if: (matrix.os == 'macos-14-large')
89+
if: (matrix.os == 'macos-14')
9090
run: |
9191
mkdir $GITHUB_WORKSPACE/build
9292
cd $GITHUB_WORKSPACE/build

.github/workflows/run_unix.yml

Lines changed: 7 additions & 7 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-latest, macos-14-large]
13+
os: [ubuntu-latest, macos-14]
1414

1515
steps:
1616
# compile and prepare env
@@ -44,7 +44,7 @@ jobs:
4444
run: |
4545
npm install -g ts-node
4646
- name: Install Ninja
47-
if: (matrix.os == 'macos-14-large')
47+
if: (matrix.os == 'macos-14')
4848
uses: seanmiddleditch/gha-setup-ninja@master
4949
with:
5050
version: 1.10.2
@@ -62,15 +62,15 @@ jobs:
6262
java-version: 11.0.3
6363
# build simpleble outside from brainflow because of different deployment targets
6464
- name: Compile SimpleBLE MacOS
65-
if: (matrix.os == 'macos-14-large')
65+
if: (matrix.os == 'macos-14')
6666
run: |
6767
mkdir $GITHUB_WORKSPACE/third_party/SimpleBLE/simpleble/build
6868
cd $GITHUB_WORKSPACE/third_party/SimpleBLE/simpleble/build
6969
cmake -G Ninja -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" -DCMAKE_OSX_DEPLOYMENT_TARGET=10.15 -DCMAKE_INSTALL_PREFIX=$GITHUB_WORKSPACE/installed -DCMAKE_BUILD_TYPE=Release ..
7070
ninja
7171
ninja install
7272
- name: Compile BrainFlow MacOS
73-
if: (matrix.os == 'macos-14-large')
73+
if: (matrix.os == 'macos-14')
7474
run: |
7575
mkdir $GITHUB_WORKSPACE/build
7676
cd $GITHUB_WORKSPACE/build
@@ -153,7 +153,7 @@ jobs:
153153
- name: Run unit tests
154154
run: $GITHUB_WORKSPACE/build/tests/brainflow_tests
155155
- name: Synthetic C# Test MacOS
156-
if: (matrix.os == 'macos-14-large')
156+
if: (matrix.os == 'macos-14')
157157
run: |
158158
cd $GITHUB_WORKSPACE/csharp_package/brainflow/examples/brainflow_get_data/bin/Release/net7.0
159159
cp $GITHUB_WORKSPACE/installed/lib/libBoardController.dylib $GITHUB_WORKSPACE/csharp_package/brainflow/examples/brainflow_get_data/bin/Release/net7.0/
@@ -163,7 +163,7 @@ jobs:
163163
LD_LIBRARY_PATH: ${{ github.workspace }}/installed/lib
164164
DYLD_LIBRARY_PATH: ${{ github.workspace }}/installed/lib
165165
- name: EEG Metrics C# Test MacOS
166-
if: (matrix.os == 'macos-14-large')
166+
if: (matrix.os == 'macos-14')
167167
run: |
168168
cd $GITHUB_WORKSPACE/csharp_package/brainflow/examples/eeg_metrics/bin/Release/net7.0
169169
cp $GITHUB_WORKSPACE/installed/lib/libBoardController.dylib $GITHUB_WORKSPACE/csharp_package/brainflow/examples/eeg_metrics/bin/Release/net7.0/
@@ -412,7 +412,7 @@ jobs:
412412
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
413413
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
414414
- name: Push Libraries MacOS Dev
415-
if: ${{ github.event_name == 'push' && matrix.os == 'macos-14-large' && github.repository == 'brainflow-dev/brainflow' }}
415+
if: ${{ github.event_name == 'push' && matrix.os == 'macos-14' && github.repository == 'brainflow-dev/brainflow' }}
416416
run: |
417417
aws s3 cp $GITHUB_WORKSPACE/installed/lib/ s3://brainflow/$GITHUB_SHA/macos_release --recursive
418418
env:

0 commit comments

Comments
 (0)