-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #899 from gonuke/upstream_tests
Add tests on merge for various upstream packages
- Loading branch information
Showing
11 changed files
with
192 additions
and
138 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
name: Test newest version of upstream dependencies on merge | ||
description: Builds and tests the newest merged version of DAGMC against newer versions of upstream dependencies | ||
inputs: | ||
token: | ||
description: token for logging in to the GHCR | ||
required: true | ||
default: '' | ||
geant_version: | ||
description: Version of Geant4 | ||
required: false | ||
default: 10.7.4 | ||
ubuntu_version: | ||
description: Underlying OS version | ||
required: false | ||
default: 22.04 | ||
compiler: | ||
description: which compiler to use gcc or clang | ||
required: false | ||
default: gcc | ||
hdf5_version: | ||
description: Version of HDF5 | ||
required: false | ||
default: 1.10.4 | ||
moab_version: | ||
description: Version of MOAB | ||
required: false | ||
default: 5.3.0 | ||
double_down: | ||
description: Whether or not to test Double Down | ||
required: false | ||
default: OFF | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Log in to the Container registry | ||
uses: docker/login-action@v2 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.repository_owner }} | ||
password: ${{ inputs.token }} | ||
|
||
- name: Installing Dependencies in Docker image | ||
uses: firehed/multistage-docker-build-action@v1 | ||
with: | ||
repository: ghcr.io/${{ github.repository_owner }}/dagmc-ci-ubuntu-${{ inputs.ubuntu_version }}-${{ inputs.compiler}}-geant4_${{ inputs.geant_version }}-hdf5_${{ inputs.hdf5_version }}-moab_${{ inputs.moab_version }} | ||
stages: base, external_deps, hdf5, moab, dagmc | ||
server-stage: dagmc_test | ||
quiet: false | ||
parallel: true | ||
tag-latest-on-default: false | ||
dockerfile: CI/Dockerfile | ||
build-args: COMPILER=${{ inputs.compiler }}, geant4_version=${{ inputs.geant_version }}, UBUNTU_VERSION=${{ inputs.ubuntu_version }}, HDF5_VERSION=${{ inputs.hdf5_version }}, MOAB_BRANCH=${{ inputs.moab_version }}, double_down=${{ inputs.double_down }} |
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Test against Double Down on PR merge | ||
|
||
on: | ||
# allows us to run workflows manually | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- develop | ||
paths-ignore: | ||
- '.github/workflows/docker_publish.yml' | ||
- '.github/workflows/linux_build_test.yml' | ||
- '.github/workflows/mac_build_test.yml' | ||
- '.github/workflows/windows_build_test.yml' | ||
- '.github/workflows/housekeeping.yml' | ||
- '.github/workflows/changelog_test.yml' | ||
- 'CI/**' | ||
- 'doc/**' | ||
jobs: | ||
build-dependency-and-test-img: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: use upstream test composite action | ||
uses: ./.github/actions/upstream-test | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
double_down: ON | ||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Test against newer Geant4 on PR merge | ||
|
||
on: | ||
# allows us to run workflows manually | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- develop | ||
paths-ignore: | ||
- '.github/workflows/docker_publish.yml' | ||
- '.github/workflows/linux_build_test.yml' | ||
- '.github/workflows/mac_build_test.yml' | ||
- '.github/workflows/windows_build_test.yml' | ||
- '.github/workflows/housekeeping.yml' | ||
- '.github/workflows/changelog_test.yml' | ||
- 'CI/**' | ||
- 'doc/**' | ||
jobs: | ||
build-dependency-and-test-img: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: use upstream test composite action | ||
uses: ./.github/actions/upstream-test | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
geant_version: 11.1.1 | ||
|
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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Test against MOAB master on PR merge | ||
|
||
on: | ||
# allows us to run workflows manually | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- develop | ||
paths-ignore: | ||
- '.github/workflows/docker_publish.yml' | ||
- '.github/workflows/linux_build_test.yml' | ||
- '.github/workflows/mac_build_test.yml' | ||
- '.github/workflows/windows_build_test.yml' | ||
- '.github/workflows/housekeeping.yml' | ||
- '.github/workflows/changelog_test.yml' | ||
- 'CI/**' | ||
- 'doc/**' | ||
jobs: | ||
build-dependency-and-test-img: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: use upstream test composite action | ||
uses: ./.github/actions/upstream-test | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
moab_version: master |
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.