Skip to content

Commit 025de52

Browse files
authored
Fixing Windows builds (#204)
* trying out more windows tricks * run tests on windows
1 parent 2b9ad51 commit 025de52

3 files changed

Lines changed: 14 additions & 8 deletions

File tree

.github/dependabot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "monthly"

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ jobs:
1414
fail-fast: false
1515
matrix:
1616
buildplat:
17-
- [ubuntu-20.04, manylinux, x86_64]
17+
- [ubuntu-22.04, manylinux, x86_64]
1818
- [macos-12, macosx, x86_64]
19-
# - [windows-2019, win, AMD64]
19+
- [windows-2019, win, AMD64]
2020
python: [["cp38", "3.8"], ["cp39", "3.9"], ["cp310", "3.10"]]
2121
steps:
2222
- uses: actions/checkout@v3
@@ -28,13 +28,13 @@ jobs:
2828
python-version: ${{ matrix.python[1]}}
2929
- name: Set up Windows
3030
run: |
31-
choco install rtools --no-progress
31+
choco install rtools -y --no-progress --force --version=4.0.0.20220206
3232
echo "c:\rtools40\ucrt64\bin;" >> $env:GITHUB_PATH
3333
if: ${{ runner.os == 'Windows' }}
3434
- name: Set up macOS
3535
run: brew unlink gfortran && brew link --overwrite gfortran
3636
if: ${{ runner.os == 'macOS' }}
37-
- uses: pypa/cibuildwheel@v2.10.1
37+
- uses: pypa/cibuildwheel@v2.12.1
3838
env:
3939
CIBW_BUILD: ${{ matrix.python[0] }}-${{ matrix.buildplat[1] }}*
4040
CIBW_ARCHS: ${{ matrix.buildplat[2] }}

.github/workflows/tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ jobs:
2020
- os: macos-latest
2121
python-version: "3.10"
2222
nox-session: "tests"
23-
# - os: windows-latest
24-
# python-version: "3.10"
25-
# nox-session: "tests"
23+
- os: windows-latest
24+
python-version: "3.10"
25+
nox-session: "tests"
2626
- os: ubuntu-latest
2727
python-version: "3.10"
2828
nox-session: "options"
@@ -47,7 +47,7 @@ jobs:
4747
if: ${{ runner.os == 'macOS' }}
4848
- name: Set up Windows
4949
run: |
50-
choco install rtools --no-progress
50+
choco install rtools -y --no-progress --force --version=4.0.0.20220206
5151
echo "c:\rtools40\ucrt64\bin;" >> $env:GITHUB_PATH
5252
if: ${{ runner.os == 'Windows' }}
5353
- name: Cache pip packages

0 commit comments

Comments
 (0)