-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add newer pythons to github actions (#483)
* Updates for python3.10 / LGTM warnings
- Loading branch information
1 parent
cc67f7d
commit 75d252d
Showing
37 changed files
with
226 additions
and
150 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,8 @@ on: | |
|
||
env: | ||
TICK_DEBUG: 0 | ||
# TICK_CMAKE_GENERATOR: Visual Studio 16 2022 | ||
TICK_WERROR: 0 | ||
MKN_CL_PREFERRED: 1 | ||
|
||
jobs: | ||
build: | ||
|
@@ -20,24 +21,43 @@ jobs: | |
fail-fast: false | ||
max-parallel: 4 | ||
matrix: | ||
python-version: ['3.9'] | ||
python-version: ['3.7'] # '3.8', '3.9', '3.10', have dll init issues | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
PhilipDeegan
Author
Member
|
||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: true | ||
|
||
- uses: actions/setup-python@v1 | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
architecture: x64 | ||
|
||
- run: | | ||
- uses: ilammy/msvc-dev-cmd@v1 # setup vcvars for cl.exe | ||
with: | ||
arch: amd64 | ||
|
||
- name: info | ||
run: | | ||
python3 -V | ||
swig -version | ||
pip install pip --upgrade | ||
pip install wheel | ||
pip install -r requirements.txt | ||
python setup.py build_ext --inplace | ||
python -m unittest discover -v . "*_test.py" | ||
cl | ||
- name: pip | ||
run: | | ||
python3 -m pip install wheel pip --upgrade | ||
python3 -m pip install -r requirements.txt | ||
- name: build | ||
run: | # MINGW link interferres with MSVC link.exe | ||
bash -c "rm /bin/link" | ||
bash -c "curl -Lo mkn.exe https://github.com/mkn/mkn/releases/download/latest/mkn.exe" | ||
bash -c 'PATH=$PWD:$PATH KLOG=3 ./sh/mkn.sh' | ||
- name: cpptest | ||
run: | | ||
bash -c 'PATH=$PWD:$PATH KLOG=3 ./sh/gtest.sh' | ||
- name: pytest | ||
run: | | ||
python -m unittest discover -v . "*_test.py" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
I confirm version 0.7.0.1 at commit 73acead doesn't have this DLL issue and build on Windows 10/11
The version 0.7.0.1 in https://pypi.org/project/tick/0.7.0.1/#files seems to be the commit 5b8ef9d and this version doesn't build on Windows 10/11