Skip to content

Commit 9003e86

Browse files
committed
Remove matrix strategy from build job of GHA workflows
1 parent 3e6bc03 commit 9003e86

File tree

3 files changed

+9
-18
lines changed

3 files changed

+9
-18
lines changed

.github/workflows/linux.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,7 @@ jobs:
6969

7070
needs: [check-semver]
7171
if: always() && !failure() && !cancelled()
72-
runs-on: ${{ matrix.os }}
73-
strategy:
74-
matrix:
75-
os: [ubuntu-22.04]
72+
runs-on: ubuntu-22.04
7673
outputs:
7774
PLUGIN_API: ${{ steps.setup.outputs.PLUGIN_API }}
7875
PLUGIN_VERSION: ${{ steps.setup.outputs.PLUGIN_VERSION }}
@@ -83,13 +80,13 @@ jobs:
8380
- name: setup
8481
id: setup
8582
run: |
86-
echo "PLUGIN_VERSION=$(grep -w Source/OpenEphysLib.cpp -e 'info->libVersion' | grep -Eo "[0-9]+.[0-9]+.[0-9]+")" >> GITHUB_OUTPUT
83+
echo "PLUGIN_VERSION=$(grep -w Source/OpenEphysLib.cpp -e 'info->libVersion' | grep -Eo "[0-9]+.[0-9]+.[0-9]+")" >> "$GITHUB_OUTPUT"
8784
sudo apt update
8885
cd ../..
8986
git clone https://github.com/open-ephys/plugin-GUI.git --branch testing-juce8
9087
sudo ./plugin-GUI/Resources/Scripts/install_linux_dependencies.sh
9188
cd plugin-GUI/Build && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ..
92-
echo "PLUGIN_API=$(grep -rnw ../Source -e '#define PLUGIN_API_VER' | grep -Eo "[0-9]*" | tail -1)" >> GITHUB_OUTPUT
89+
echo "PLUGIN_API=$(grep -rnw ../Source -e '#define PLUGIN_API_VER' | grep -Eo "[0-9]*" | tail -1)" >> "$GITHUB_OUTPUT"
9390
9491
- name: build
9592
id: build

.github/workflows/mac.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,7 @@ jobs:
6969

7070
needs: [check-semver]
7171
if: always() && !failure() && !cancelled()
72-
runs-on: ${{ matrix.os }}
73-
strategy:
74-
matrix:
75-
os: [macos-latest]
72+
runs-on: macos-latest
7673
outputs:
7774
PLUGIN_API: ${{ steps.setup.outputs.PLUGIN_API }}
7875
PLUGIN_VERSION: ${{ steps.setup.outputs.PLUGIN_VERSION }}
@@ -83,11 +80,11 @@ jobs:
8380
- name: setup
8481
id: setup
8582
run: |
86-
echo "PLUGIN_VERSION=$(grep -w Source/OpenEphysLib.cpp -e 'info->libVersion' | grep -Eo "[0-9]+.[0-9]+.[0-9]+")" >> GITHUB_OUTPUT
83+
echo "PLUGIN_VERSION=$(grep -w Source/OpenEphysLib.cpp -e 'info->libVersion' | grep -Eo "[0-9]+.[0-9]+.[0-9]+")" >> "$GITHUB_OUTPUT"
8784
cd ../..
8885
git clone https://github.com/open-ephys/plugin-GUI.git --branch testing-juce8
8986
cd plugin-GUI/Build && cmake -G "Xcode" ..
90-
echo "PLUGIN_API=$(grep -rnw ../Source -e '#define PLUGIN_API_VER' | grep -Eo "[0-9]*" | tail -1)" >> GITHUB_OUTPUT
87+
echo "PLUGIN_API=$(grep -rnw ../Source -e '#define PLUGIN_API_VER' | grep -Eo "[0-9]*" | tail -1)" >> "$GITHUB_OUTPUT"
9188
9289
- name: build
9390
id: build

.github/workflows/windows.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,7 @@ jobs:
6969

7070
needs: [check-semver]
7171
if: always() && !failure() && !cancelled()
72-
runs-on: ${{ matrix.os }}
73-
strategy:
74-
matrix:
75-
os: [windows-latest]
72+
runs-on: windows-latest
7673
outputs:
7774
PLUGIN_API: ${{ steps.setup.outputs.PLUGIN_API }}
7875
PLUGIN_VERSION: ${{ steps.setup.outputs.PLUGIN_VERSION }}
@@ -83,15 +80,15 @@ jobs:
8380
- name: setup
8481
id: setup
8582
run: |
86-
echo "PLUGIN_VERSION=$(grep -w Source/OpenEphysLib.cpp -e 'info->libVersion' | grep -Eo "[0-9]+.[0-9]+.[0-9]+")" >> GITHUB_OUTPUT
83+
echo "PLUGIN_VERSION=$(grep -w Source/OpenEphysLib.cpp -e 'info->libVersion' | grep -Eo "[0-9]+.[0-9]+.[0-9]+")" >> "$GITHUB_OUTPUT"
8784
cd ../..
8885
git clone https://github.com/open-ephys/plugin-GUI.git --branch testing-juce8
8986
cd plugin-GUI/Build
9087
cmake -G "Visual Studio 17 2022" -A x64 ..
9188
mkdir Release && cd Release
9289
curl -L https://openephys.jfrog.io/artifactory/GUI-binaries/Libraries/open-ephys-lib-v1.0.0-alpha.zip --output open-ephys-lib.zip
9390
unzip open-ephys-lib.zip
94-
echo "PLUGIN_API=$(grep -rnw ../../Source -e '#define PLUGIN_API_VER' | grep -Eo "[0-9]*" | tail -1)" >> GITHUB_OUTPUT
91+
echo "PLUGIN_API=$(grep -rnw ../../Source -e '#define PLUGIN_API_VER' | grep -Eo "[0-9]*" | tail -1)" >> "$GITHUB_OUTPUT"
9592
shell: bash
9693

9794
- name: configure

0 commit comments

Comments
 (0)