File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -59,27 +59,27 @@ jobs:
5959 echo "Using CFD library branch: main"
6060 fi
6161
62- # Checkout the CFD C library (sibling repository)
62+ # Checkout the CFD C library into workspace subdirectory
6363 - name : Checkout CFD C library
6464 uses : actions/checkout@v4
6565 with :
6666 repository : ${{ github.repository_owner }}/cfd
67- path : ../ cfd
67+ path : cfd
6868 ref : ${{ steps.cfd-version.outputs.ref }}
6969 fetch-depth : 0
7070
7171 # Build CFD C library (static)
7272 - name : Build CFD C library (Linux/macOS)
7373 if : runner.os != 'Windows'
7474 run : |
75- cd ../ cfd
75+ cd cfd
7676 cmake -B build -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF
7777 cmake --build build --config Release
7878
7979 - name : Build CFD C library (Windows)
8080 if : runner.os == 'Windows'
8181 run : |
82- cd ..\ cfd
82+ cd cfd
8383 cmake -B build -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF
8484 cmake --build build --config Release
8585
9393 CIBW_ARCHS_LINUX : x86_64
9494
9595 # Environment for static linking and stable ABI
96- CIBW_ENVIRONMENT : " CMAKE_BUILD_TYPE=Release CFD_STATIC_LINK=ON CFD_USE_STABLE_ABI=ON"
96+ # CFD_ROOT points to the cfd subdirectory in the workspace
97+ CIBW_ENVIRONMENT : " CMAKE_BUILD_TYPE=Release CFD_STATIC_LINK=ON CFD_USE_STABLE_ABI=ON CFD_ROOT=./cfd"
9798
9899 # Test the built wheels
99100 CIBW_TEST_COMMAND : >
You can’t perform that action at this time.
0 commit comments