diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index f079b5e78..7d9c859db 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -34,6 +34,19 @@ jobs: branch: ${{ inputs.branch }} date: ${{ inputs.date }} sha: ${{ inputs.sha }} + rust-build: + needs: cpp-build + secrets: inherit + uses: rapidsai/shared-workflows/.github/workflows/custom-job.yaml@branch-24.02 + with: + arch: "amd64" + branch: ${{ inputs.branch }} + build_type: ${{ inputs.build_type || 'branch' }} + container_image: "rapidsai/ci-conda:latest" + date: ${{ inputs.date }} + node_type: "gpu-v100-latest-1" + run_script: "ci/build_rust.sh" + sha: ${{ inputs.sha }} python-build: needs: [cpp-build] secrets: inherit diff --git a/ci/build_rust.sh b/ci/build_rust.sh new file mode 100755 index 000000000..3e66a581e --- /dev/null +++ b/ci/build_rust.sh @@ -0,0 +1,8 @@ +#!/bin/bash +# Copyright (c) 2024, NVIDIA CORPORATION. + +set -euo pipefail + +curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y +cd rust +cargo test