Skip to content

Commit

Permalink
[ci] CMake work for dev build
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier committed Dec 11, 2023
1 parent 022e374 commit 48490bd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/mac-builds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@ jobs:
- name: Build
run: |
./ci/developer.build.sh
./ci/developer.build.sh -S "$PWD" -B build-developer
8 changes: 4 additions & 4 deletions ci/developer.build.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash -eux

if [[ $# -lt 1 ]]; then
echo "Pass paths to source and build dir as you would for any CMake script: -S <source dir> -B <build dir>"
if [[ $# -lt 4 ]]; then
echo "Pass paths to source and build dir as you would for any CMake script: -S '<source dir>' -B '<build dir>'"
exit 1
fi

Expand Down Expand Up @@ -31,5 +31,5 @@ ARGS=(
-DCMAKE_BUILD_TYPE=Debug
)

cmake "$@" "${ARGS[@]}"
cmake --build build-developer
cmake -S "$2" -B "$4" "${ARGS[@]}"
cmake --build "$4"

0 comments on commit 48490bd

Please sign in to comment.