From b42060a610342a65bffadd390d9cce13844cfbf0 Mon Sep 17 00:00:00 2001 From: Dieter Baron Date: Fri, 30 Aug 2024 11:15:34 +0200 Subject: [PATCH] Specify correct Python binary on macOS. --- .github/workflows/build.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4f1cacd0..8431857c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,10 +32,18 @@ jobs: pip install nihtest - name: configure (Unix) - if: ${{ runner.os != 'Windows' }} + if: ${{ runner.os == 'Linux' }} + working-directory: ${{runner.workspace}}/build + run: | + cmake ${{github.workspace}} + + - name: configure (macOS) + if: ${{ runner.os == 'macOS' }} working-directory: ${{runner.workspace}}/build run: | cmake ${{github.workspace}} + env: + PYTHONBIN: /usr/bin/python3 - name: build working-directory: ${{runner.workspace}}/build