diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f24c0b0..3a332cc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -41,7 +41,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, macos-13, macos-latest] + os: [ubuntu-latest, macos-13, macos-latest, windows-latest] steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index d0595ca..d14823d 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -21,14 +21,14 @@ jobs: # This workflow contains a single job called "build" build: # The type of runner that the job will run on - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} strategy: # Set fail-fast to false to ensure that feedback is delivered for all matrix combinations. Consider changing this to true when your workflow is stable. fail-fast: false matrix: - os: [ubuntu-latest] + os: [ubuntu-latest, macos-13, windows-latest] # Steps represent a sequence of tasks that will be executed as part of the job steps: diff --git a/CMakeLists.txt b/CMakeLists.txt index 448cf8c..6ce6d29 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,6 +11,8 @@ if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux") add_compile_definitions(IS_LINUX) elseif(${CMAKE_SYSTEM_NAME} STREQUAL "Darwin") add_compile_definitions(IS_MACOS) +elseif(${CMAKE_SYSTEM_NAME} STREQUAL "Windows") + add_compile_definitions(IS_WINDOWS) endif() find_package(pybind11 REQUIRED) @@ -21,7 +23,7 @@ include(FetchContent) FetchContent_Declare( qoco GIT_REPOSITORY https://github.com/qoco-org/qoco.git - GIT_TAG d2bbfc5d2d921242e4e94e4a2254d7adec3632b4 + GIT_TAG 251303fbb62e4f225170051c2a5f18fcc14c808f ) list(POP_BACK CMAKE_MESSAGE_INDENT)