diff --git a/.github/workflows/python_cmake.yml b/.github/workflows/python_cmake.yml index 257ca4fb5..1704feffb 100644 --- a/.github/workflows/python_cmake.yml +++ b/.github/workflows/python_cmake.yml @@ -21,6 +21,13 @@ jobs: fail-fast: false matrix: ${{ fromJSON(needs.prepare.outputs.matrix) }} steps: + - uses: actions/checkout@v4 + - name: Set min macOS version and install fftw and libomp + if: runner.os == 'macOS' + run: | + /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" + echo "MACOS_DEPLOYMENT_TARGET=10.14" >> $GITHUB_ENV + brew install fftw libomp - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} @@ -36,12 +43,7 @@ jobs: clangtidy: false - name: Install pytest run: python -m pip install pytest - - name: Set min macOS version and install fftw and libomp - if: runner.os == 'macOS' - run: | - /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" - echo "MACOS_DEPLOYMENT_TARGET=10.14" >> $GITHUB_ENV - brew install fftw libomp + - name: Install fftw and libomp if: runner.os == 'linux' run: |