Skip to content

Commit

Permalink
Run CI on macOS and Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
wkentaro committed Feb 12, 2024
1 parent a4adb1e commit e9e9889
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,23 @@ on:
jobs:
build:

runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ["3.8", "3.12"]
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.8']

steps:
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- uses: actions/checkout@v3

- name: Install make
if: matrix.os == 'windows-latest'
run: |
choco install make
- name: Install main
run: |
pip install .[test]
Expand All @@ -33,6 +39,7 @@ jobs:
make test
- name: Install from dist
shell: bash
run: |
make build
pip install dist/osam-*.tar.gz
Expand Down

0 comments on commit e9e9889

Please sign in to comment.