Skip to content

Commit

Permalink
Use ninja in GitHub Actions (#1142)
Browse files Browse the repository at this point in the history
This PR adds an environment variable to ensure that CMake uses `ninja` as its build system, which was the behavior in Jenkins.

Authors:
  - AJ Schmidt (https://github.com/ajschmidt8)

Approvers:
  - Sevag H (https://github.com/sevagh)

URL: #1142
  • Loading branch information
ajschmidt8 authored Oct 27, 2022
1 parent 5aaa31e commit ca53a5e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ci/build_cpp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ set -euo pipefail

source rapids-env-update

export CMAKE_GENERATOR=Ninja

rapids-print-env

rapids-logger "Begin cpp build"
Expand Down
2 changes: 2 additions & 0 deletions ci/build_python.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ set -euo pipefail

source rapids-env-update

export CMAKE_GENERATOR=Ninja

rapids-print-env

rapids-logger "Begin py build"
Expand Down

0 comments on commit ca53a5e

Please sign in to comment.