From 92bc4c72b7875063dff522b178ec936a907aa573 Mon Sep 17 00:00:00 2001 From: Mate Soos Date: Sat, 13 Jan 2024 13:46:03 +0100 Subject: [PATCH] Update binary-build.yml fixing order --- .github/workflows/binary-build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/binary-build.yml b/.github/workflows/binary-build.yml index 24223aa57..115a66694 100644 --- a/.github/workflows/binary-build.yml +++ b/.github/workflows/binary-build.yml @@ -44,6 +44,10 @@ jobs: run: | pip install pip --upgrade pip install numpy lit + + - name: Add git submodules for Linux only (not needed for non-testing) + if: matrix.os == 'ubuntu-20.04' + run: git submodule update --init - name: Configure CMake for linux if: matrix.os == 'ubuntu-20.04' @@ -54,10 +58,6 @@ jobs: # and build directories, but this is only available with CMake 3.13 and higher. # The CMake binaries on the Github Actions machines are (as of this writing) 3.12 run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DENABLE_TESTING=ON -DSTATICCOMPILE=${{ matrix.staticcompile }} - - - name: Add git submodules for Linux only (not needed for non-testing) - if: matrix.os == 'ubuntu-20.04' - run: git submodule update --init - name: Configure CMake for non-linux if: matrix.os != 'ubuntu-20.04'