1010 fail-fast : false
1111 max-parallel : 4
1212 matrix :
13- os : [ubuntu-20.04, macos-12 ]
13+ os : [ubuntu-20.04, macos-13 ]
1414
1515 steps :
1616 # compile and prepare env
4545 run : |
4646 npm install -g ts-node
4747 - name : Install Ninja
48- if : (matrix.os == 'macos-12 ')
48+ if : (matrix.os == 'macos-13 ')
4949 uses : seanmiddleditch/gha-setup-ninja@master
5050 with :
5151 version : 1.10.2
@@ -63,15 +63,15 @@ jobs:
6363 java-version : 11.0.3
6464 # build simpleble outside from brainflow because of different deployment targets
6565 - name : Compile SimpleBLE MacOS
66- if : (matrix.os == 'macos-12 ')
66+ if : (matrix.os == 'macos-13 ')
6767 run : |
6868 mkdir $GITHUB_WORKSPACE/third_party/SimpleBLE/simpleble/build
6969 cd $GITHUB_WORKSPACE/third_party/SimpleBLE/simpleble/build
7070 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 ..
7171 ninja
7272 ninja install
7373 - name : Compile BrainFlow MacOS
74- if : (matrix.os == 'macos-12 ')
74+ if : (matrix.os == 'macos-13 ')
7575 run : |
7676 mkdir $GITHUB_WORKSPACE/build
7777 cd $GITHUB_WORKSPACE/build
@@ -154,7 +154,7 @@ jobs:
154154 - name : Run unit tests
155155 run : $GITHUB_WORKSPACE/build/tests/brainflow_tests
156156 - name : Synthetic C# Test MacOS
157- if : (matrix.os == 'macos-12 ')
157+ if : (matrix.os == 'macos-13 ')
158158 run : |
159159 cd $GITHUB_WORKSPACE/csharp_package/brainflow/examples/brainflow_get_data/bin/Release/net7.0
160160 cp $GITHUB_WORKSPACE/installed/lib/libBoardController.dylib $GITHUB_WORKSPACE/csharp_package/brainflow/examples/brainflow_get_data/bin/Release/net7.0/
@@ -164,7 +164,7 @@ jobs:
164164 LD_LIBRARY_PATH : ${{ github.workspace }}/installed/lib
165165 DYLD_LIBRARY_PATH : ${{ github.workspace }}/installed/lib
166166 - name : EEG Metrics C# Test MacOS
167- if : (matrix.os == 'macos-12 ')
167+ if : (matrix.os == 'macos-13 ')
168168 run : |
169169 cd $GITHUB_WORKSPACE/csharp_package/brainflow/examples/eeg_metrics/bin/Release/net7.0
170170 cp $GITHUB_WORKSPACE/installed/lib/libBoardController.dylib $GITHUB_WORKSPACE/csharp_package/brainflow/examples/eeg_metrics/bin/Release/net7.0/
@@ -411,7 +411,7 @@ jobs:
411411 AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
412412 AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
413413 - name : Push Libraries MacOS Dev
414- if : ${{ github.event_name == 'push' && matrix.os == 'macos-12 ' && github.repository == 'brainflow-dev/brainflow' }}
414+ if : ${{ github.event_name == 'push' && matrix.os == 'macos-13 ' && github.repository == 'brainflow-dev/brainflow' }}
415415 run : |
416416 aws s3 cp $GITHUB_WORKSPACE/installed/lib/ s3://brainflow/$GITHUB_SHA/macos_release --recursive
417417 env :
0 commit comments