File tree Expand file tree Collapse file tree 1 file changed +13
-8
lines changed
Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Original file line number Diff line number Diff line change @@ -117,24 +117,29 @@ jobs:
117117 submodules : ' true'
118118
119119 - uses : seanmiddleditch/gha-setup-ninja@master
120-
120+
121+ - uses : actions/setup-python@v4
122+ with :
123+ python-version : ' 3.x'
124+
121125 - uses : ilammy/msvc-dev-cmd@v1
122126 if : matrix.config.name == 'windows'
123127
124- - name : Setup Python
125- uses : actions/setup-python@v6
126- with :
127- python-version : ' 3.13'
128-
129128 - name : Update submodule
130129 run : |
131130 cd binaryninjaapi
132131 git fetch --tags
133132 git checkout --force ${{ matrix.version.name }}
134133 git submodule update --init --recursive
135-
134+
136135 - name : Configure CMake
137- run : cmake -B ${{github.workspace}}/build -G Ninja -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DBN_ALLOW_STUBS=ON
136+ shell : bash
137+ run : |
138+ if [[ "${{ matrix.config.name }}" == "windows" ]]; then
139+ cmake -B ${{github.workspace}}/build -G Ninja -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DBN_ALLOW_STUBS=ON -DPYTHON_COMMAND="python"
140+ else
141+ cmake -B ${{github.workspace}}/build -G Ninja -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DBN_ALLOW_STUBS=ON
142+ fi
138143
139144 - name : Build
140145 run : cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
You can’t perform that action at this time.
0 commit comments