Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workflow check for Windows builds #505

Merged
merged 1 commit into from
Nov 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions .github/workflows/python_package_ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,16 @@ jobs:
os:
- macos-latest
- ubuntu-latest
- windows-latest
python-version:
- "3.9"

runs-on: ${{ matrix.os }}

defaults:
run:
shell: bash

steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -28,13 +33,20 @@ jobs:

- name: Create and Activate Virtual Environment
run: |
python3 -m venv venv
source venv/bin/activate
if [ "$RUNNER_OS" == "Windows" ]; then
python -m venv venv
source venv/Scripts/activate
else
python3 -m venv venv
source venv/bin/activate
fi

- name: Set up Homebrew
if: matrix.os == 'macos-latest'
uses: Homebrew/actions/setup-homebrew@master

- name: Install PyICU dependencies
if: matrix.os == 'macos-latest'
run: |
brew bundle install --file=Brewfile
# configure PATH & PKG_CONFIG_PATH as per
Expand Down
Loading