File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 6363 submodules : true
6464 - name : Generate sdist
6565 run : |
66- NLE_RELEASE_BUILD=1 python setup.py sdist
66+ NLE_RELEASE_BUILD=1 CMAKE_ARGS='-DCMAKE_POLICY_VERSION_MINIMUM=3.5' python setup.py sdist
6767 - name : Install from sdist
6868 run : |
6969 SDISTNAME=$(ls dist/)
9494 submodules : true
9595 - name : Generate sdist
9696 run : |
97- NLE_RELEASE_BUILD=1 python setup.py sdist
97+ NLE_RELEASE_BUILD=1 CMAKE_ARGS='-DCMAKE_POLICY_VERSION_MINIMUM=3.5' python setup.py sdist
9898 - name : Install from sdist
9999 run : |
100100 SDISTNAME=$(ls dist/)
@@ -137,7 +137,7 @@ jobs:
137137 uses :
pypa/[email protected] # The main configuration is in pyproject.toml 138138 env :
139139 # Set NLE_RELEASE_BUILD to 1 to build release wheels
140- CIBW_ENVIRONMENT : " NLE_RELEASE_BUILD=1"
140+ CIBW_ENVIRONMENT : " NLE_RELEASE_BUILD=1 CMAKE_ARGS='-DCMAKE_POLICY_VERSION_MINIMUM=3.5' "
141141 - name : Save wheels
142142 uses : actions/upload-artifact@v4
143143 with :
Original file line number Diff line number Diff line change 1- cmake_minimum_required (VERSION 3.5 )
1+ cmake_minimum_required (VERSION 3.15 )
22file (STRINGS "version.txt" NLE_VERSION)
33# Remove any rcXX suffix from the version number as CMake doesn't like it
44string (REGEX REPLACE "rc[0-9+]$" "" CMAKE_NLE_VERSION ${NLE_VERSION} )
You can’t perform that action at this time.
0 commit comments