Skip to content

Commit

Permalink
CI: I hate CI 3
Browse files Browse the repository at this point in the history
  • Loading branch information
DatCaptainHorse committed Aug 15, 2024
1 parent 2af4051 commit 3de81c5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/windows-x86_64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ jobs:
run: |
choco install python312 --params "/InstallDir:C:\Python312"
- uses: lukka/get-cmake@latest
- name: Install CMake
run: |
choco install cmake --installargs 'ADD_CMAKE_TO_PATH=System'
- name: Configure CMake
env:
Expand Down
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)

#find_package(glaze REQUIRED)
find_package(glfw3 REQUIRED)
find_package(Python 3.12 COMPONENTS Interpreter Development REQUIRED)
find_package(nanobind CONFIG REQUIRED)
find_package(Python 3.12 COMPONENTS Development.Module Development.Embed REQUIRED)
find_package(nanobind REQUIRED)
find_package(libhv REQUIRED)
find_package(libsndfile REQUIRED)

Expand Down
3 changes: 3 additions & 0 deletions Source/scripting.cppm
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ module;
#include <filesystem>
#include <source_location>

// Include Python manually to fix issues
#include <Python.h>

#include <nanobind/nanobind.h>
#include <nanobind/stl/string.h>
#include <nanobind/stl/vector.h>
Expand Down

0 comments on commit 3de81c5

Please sign in to comment.