-
Notifications
You must be signed in to change notification settings - Fork 184
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix CMake option handling. These need to just be passed as a string, which is more flexible than assuming only key/value pairs. * Inline the sccache action. The relative action path doesn't properly resolve when CCCL's workflows/actions from reused in other repos (eg. nvbench).
- Loading branch information
1 parent
b3ef1e6
commit 831f0e9
Showing
4 changed files
with
29 additions
and
25 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -77,10 +77,23 @@ jobs: | |
if [[ "$src" != "$dst" ]]; then | ||
cp "$src" "$dst" | ||
fi | ||
# We don't really need sccache configured, but we need the AWS credentials envvars to be set | ||
# in order to avoid the devcontainer hanging waiting for GitHub authentication | ||
- name: Configure credentials and environment variables for sccache | ||
uses: ./.github/actions/configure_cccl_sccache | ||
- name: Get AWS credentials for sccache bucket | ||
uses: aws-actions/configure-aws-credentials@v2 | ||
with: | ||
role-to-assume: arn:aws:iam::279114543810:role/gha-oidc-NVIDIA | ||
aws-region: us-east-2 | ||
role-duration-seconds: 43200 # 12 hours) | ||
- name: Set environment variables | ||
run: | | ||
echo "SCCACHE_BUCKET=rapids-sccache-devs" >> $GITHUB_ENV | ||
echo "SCCACHE_REGION=us-east-2" >> $GITHUB_ENV | ||
echo "SCCACHE_IDLE_TIMEOUT=32768" >> $GITHUB_ENV | ||
echo "SCCACHE_S3_USE_SSL=true" >> $GITHUB_ENV | ||
echo "SCCACHE_S3_NO_CREDENTIALS=false" >> $GITHUB_ENV | ||
- name: Run in devcontainer | ||
uses: devcontainers/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters