Skip to content

Commit

Permalink
Update cmake-multi-platform.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
fcollot authored Nov 27, 2023
1 parent a870ea1 commit 658c36c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ on:
pull_request:
branches: [ "main" ]

env:
BUILD_DIR: '${{ github.workspace }}/build'
PYTHON_OUTPUT_DIR: ${{ github.workspace }}/build/${{ inputs.input_build_type }}/lib/python3.10"

jobs:
build:
runs-on: ${{ matrix.os }}
Expand All @@ -28,7 +32,7 @@ jobs:

matrix:
os: [ubuntu-latest, macos-latest]
build_type: ${{ env.INPUT_BUILD_TYPE }}
build_type: ${{ inputs.input_build_type }}
c_compiler: [gcc]
include:
- os: ubuntu-latest
Expand All @@ -37,10 +41,6 @@ jobs:
- os: macos-latest
c_compiler: gcc
cpp_compiler: gcc

env:
BUILD_DIR: '${{ github.workspace }}/build'
PYTHON_OUTPUT_DIR: ${{ github.workspace }}/build/${{ env.INPUT_BUILD_TYPE }}/lib/python3.10"

steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit 658c36c

Please sign in to comment.