-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
163 additions
and
64 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
|
@@ -16,15 +16,26 @@ jobs: | |
# https://github.com/ComputationalRadiationPhysics/picongpu/blob/0.5.0/share/picongpu/dockerfiles/ubuntu-1604/Dockerfile | ||
# https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/ | ||
skip_checks: | ||
name: Analyze | ||
uses: ./.github/workflows/skip_checks.yml | ||
with: | ||
runs-on: ubuntu-latest | ||
name: Analyze PR | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Skip checks? | ||
run: | | ||
.github/workflows/scripts/check_diff.sh \ | ||
${{ github.event.pull_request.head.ref }} \ | ||
${{ github.event.pull_request.base.ref }} \ | ||
${{ github.event.pull_request.head.repo.clone_url }} | ||
outputs: | ||
skip: ${{ env.SKIP_CHECKS }} | ||
build_nvcc: | ||
name: NVCC 11.3 SP | ||
runs-on: ubuntu-20.04 | ||
needs: skip_checks | ||
if: ${{ github.event.pull_request.draft == false && needs.skip_checks.outputs.skip == false }} | ||
if: ${{ github.event.pull_request.draft == false && needs.skip_checks.outputs.skip == 'false' }} | ||
env: | ||
CXXFLAGS: "-Werror" | ||
CMAKE_GENERATOR: Ninja | ||
|
@@ -99,7 +110,7 @@ jobs: | |
name: NVCC 11.8.0 GNUmake | ||
runs-on: ubuntu-20.04 | ||
needs: skip_checks | ||
if: ${{ github.event.pull_request.draft == false && needs.skip_checks.outputs.skip == false }} | ||
if: ${{ github.event.pull_request.draft == false && needs.skip_checks.outputs.skip == 'false' }} | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
@@ -131,7 +142,7 @@ jobs: | |
name: [email protected] NVCC/NVC++ Release [tests] | ||
runs-on: ubuntu-20.04 | ||
needs: skip_checks | ||
if: ${{ github.event.pull_request.draft == false && needs.skip_checks.outputs.skip == false }} | ||
if: ${{ github.event.pull_request.draft == false && needs.skip_checks.outputs.skip == 'false' }} | ||
#env: | ||
# # For NVHPC, Ninja is slower than the default: | ||
# CMAKE_GENERATOR: Ninja | ||
|
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
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
Oops, something went wrong.