mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-27 00:53:55 -07:00
ci: use Ninja on Linux and macOS builds (#5939)
* ci: use Ninja on linux and macos * ci: simplify parallelism
This commit is contained in:
parent
3cf604528a
commit
fc800ff487
10 changed files with 23 additions and 37 deletions
|
|
@ -147,6 +147,7 @@ function RUN ()
|
|||
if [[ $CCACHE_DIR ]]; then
|
||||
args+=(--mount "type=bind,source=$CCACHE_DIR,target=/.ccache")
|
||||
args+=(--env "CCACHE_DIR=/.ccache")
|
||||
args+=(--env "CMAKE_GENERATOR="Ninja"")
|
||||
fi
|
||||
docker run "${args[@]}" $RUN_ARGS "$IMAGE_NAME" bash "$BUILD_SCRIPT" $RUN_OPTS "$@"
|
||||
return $?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue