Skip to content

Commit

Permalink
Added Windows workflow.
Browse files Browse the repository at this point in the history
I want to find out why CMake was unable to find the C source files last time.
  • Loading branch information
tfpf committed Sep 30, 2023
1 parent eb48dc8 commit 52cb7ff
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-unix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ jobs:
os: [macos-12, ubuntu-22.04]
steps:
- uses: actions/checkout@v4
- run: python3 -m pip install .
- run: python3 -m pip install -v .
- run: python3 examples/Python/thread-safe.py
- run: python3 benchmarks/benchmarks.py
13 changes: 12 additions & 1 deletion .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@ defaults:
shell: bash

jobs:
c:
name: windows-2022 / C
runs-on: windows-2022
steps:
- uses: actions/checkout@v4
- uses: cygwin/cygwin-install-action@v4
with:
packages: cmake gcc-core make
- run: ./run.sh
- run: cd tests && make && ./tests
- run: cd benchmarks && make && ./benchmarks
python:
name: windows-2022 / Python
runs-on: windows-2022
Expand All @@ -13,6 +24,6 @@ jobs:
- uses: cygwin/cygwin-install-action@v4
with:
packages: gcc-core python3 python3-devel python3-pip
- run: python3 -m pip install .
- run: python3 -m pip install -v .
- run: python3 examples/Python/thread-safe.py
- run: python3 benchmarks/benchmarks.py

0 comments on commit 52cb7ff

Please sign in to comment.