Skip to content

Commit

Permalink
try to install PCRE2 on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jameskermode committed Sep 28, 2023
1 parent f6a963d commit b6ab2b7
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,22 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, macos-12, windows-2019]
os: [ubuntu-22.04, macos-13, windows-2019]
fail-fast: false

steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Checkout submodules
run: git submodule update --init --recursive
run: git submodule update --init --recursive

- name: Install PCRE2 (Windows only)
if: matrix.os == 'windows-2019'
run: |
Set-ExecutionPolicy Bypass -Scope Process -Force
iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
choco install pcre2
- name: Build wheels
uses: pypa/[email protected]
env:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ jobs:
- name: Test with pytest
run: |
USE_FORTRAN=T pytest -v --ignore QUIP
# Uncomment to get SSH access for testing
- name: Setup tmate session
if: failure()
uses: mxschmitt/action-tmate@v3
timeout-minutes: 15
# # Uncomment to get SSH access for testing
# - name: Setup tmate session
# if: failure()
# uses: mxschmitt/action-tmate@v3
# timeout-minutes: 15

0 comments on commit b6ab2b7

Please sign in to comment.