Skip to content

Commit

Permalink
more GHA nonsense
Browse files Browse the repository at this point in the history
  • Loading branch information
fosterbrereton committed Jan 9, 2024
1 parent 812626f commit 6371938
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
run: |
mkdir build
cd build
cmake --log-level=WARNING -DORC_PROFILING=OFF -DORC_BUILD_EXAMPLES=0 -GXcode ..
cmake -DORC_PROFILING=OFF -DORC_BUILD_EXAMPLES=0 -GXcode ..
- name: 🛠️ orc debug
id: build-orc-debug
continue-on-error: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tagged-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
run: |
mkdir build
cd build
cmake --log-level=WARNING -DORC_PROFILING=OFF -DORC_BUILD_EXAMPLES=0 -GXcode ..
cmake -DORC_PROFILING=OFF -DORC_BUILD_EXAMPLES=0 -GXcode ..
- name: 🛠️ Build ORC
run: |
xcodebuild -json -project ./build/orc.xcodeproj -scheme orc_orc -configuration Release -hideShellScriptEnvironment
Expand Down
3 changes: 1 addition & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ set(CMAKE_OSX_ARCHITECTURES arm64;x86_64)

project(orc)

option(ORC_PROFILING "Enable profiling of ORC with Tracy" OFF)

# Detects whether this is a top-level/root/standalone project
# This variable is already set by project() in cmake 3.21+
if (NOT DEFINED PROJECT_IS_TOP_LEVEL)
Expand All @@ -21,6 +19,7 @@ if (NOT DEFINED PROJECT_IS_TOP_LEVEL)
endif()

option(ORC_BUILD_EXAMPLES "Build ORC example programs" ${PROJECT_IS_TOP_LEVEL})
option(ORC_PROFILING "Enable profiling of ORC with Tracy" OFF)

if (NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
set(ORC_BUILD_EXAMPLES FALSE)
Expand Down

0 comments on commit 6371938

Please sign in to comment.