Skip to content

Commit

Permalink
Fix annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
sleeepyjack committed Aug 18, 2023
1 parent 7099dd7 commit 4ac5c2f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ on:
jobs:
build:
if: inputs.build_script != '' && inputs.build_image != ''
name: Build ${{inputs.compiler}}${{inputs.compiler_version}}/C++${{inputs.std}}
uses: ./.github/workflows/run-as-coder.yml
name: ${{inputs.compiler}}${{inputs.compiler_version}} / C++${{inputs.std}} / SM${{inputs.gpu_build_archs}}
with:
name: Build ${{inputs.compiler}}${{inputs.compiler_version}}/C++${{inputs.std}}
name: Build
runner: linux-${{inputs.cpu}}-cpu16
image: ${{inputs.build_image}}
command: |
Expand All @@ -51,10 +51,10 @@ jobs:
test:
needs: build
if: ${{ !cancelled() && ( needs.build.result == 'success' || needs.build.result == 'skipped' ) && inputs.test_script != '' && inputs.test_image != '' && inputs.run_tests}}
name: Test ${{inputs.compiler}}${{inputs.compiler_version}}/C++${{inputs.std}}
uses: ./.github/workflows/run-as-coder.yml
name: ${{inputs.compiler}}${{inputs.compiler_version}} / C++${{inputs.std}} / SM${{inputs.gpu_build_archs}}
with:
name: Test ${{inputs.compiler}}${{inputs.compiler_version}}/C++${{inputs.std}}
name: Test
runner: linux-${{inputs.cpu}}-gpu-v100-latest-1
image: ${{inputs.test_image}}
command: |
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ concurrency:
cancel-in-progress: true

jobs:

get-devcontainer-version:
name: Get devcontainer version
runs-on: ubuntu-latest
Expand Down Expand Up @@ -77,7 +76,7 @@ jobs:
echo "PER_CUDA_COMPILER_MATRIX=$PER_CUDA_COMPILER_MATRIX" | tee -a "$GITHUB_OUTPUT"
ci:
name: CUDA${{ matrix.cuda_version }} ${{ matrix.compiler }}
name: CI / CUDA${{ matrix.cuda_version }}
needs: [compute-nvcc-matrix, get-devcontainer-version]
uses: ./.github/workflows/dispatch-build-and-test.yml
strategy:
Expand Down
4 changes: 3 additions & 1 deletion ci/matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ cuda_newest: &cuda_newest '12.2'
# Note: This assumes that the appropriate gpu_build_archs are set to include building for the GPUs listed here
gpus:
- 'v100'
- 'a100'

# The version of the devcontainer images to use from https://hub.docker.com/r/rapidsai/devcontainers
devcontainer_version: '23.08'
Expand All @@ -40,4 +41,5 @@ devcontainer_version: '23.08'
# Configurations that will run for every PR
pull_request:
nvcc:
- {cuda: *cuda_newest, os: 'ubuntu22.04', cpu: 'amd64', compiler: {name: 'gcc', version: '12', exe: 'g++'}, gpu_build_archs: '70', std: [17], jobs: ['build', 'test']}
- {cuda: *cuda_newest, os: 'ubuntu22.04', cpu: 'amd64', compiler: {name: 'gcc', version: '12', exe: 'g++'}, gpu_build_archs: '70;80', std: [17], jobs: ['build', 'test']}
- {cuda: *cuda_newest, os: 'ubuntu22.04', cpu: 'amd64', compiler: {name: 'gcc', version: '11', exe: 'g++'}, gpu_build_archs: '70;80', std: [17], jobs: ['build', 'test']}

0 comments on commit 4ac5c2f

Please sign in to comment.