Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow Double Down v1.1.0 Installation in Dockerfile #929

Merged
merged 38 commits into from
Feb 22, 2024
Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
6166e4f
dd fix
ahnaf-tahmid-chowdhury Dec 8, 2023
d057970
fix Geant4_VERSION
ahnaf-tahmid-chowdhury Dec 8, 2023
3cb814f
typo fix
ahnaf-tahmid-chowdhury Dec 8, 2023
0b12126
dd version 1.1.0
ahnaf-tahmid-chowdhury Dec 9, 2023
7d8de72
Double Down v1.1.0 Installation in Dockerfile
ahnaf-tahmid-chowdhury Dec 9, 2023
91245ea
DOUBLE_DOWN_VERSION string fix
ahnaf-tahmid-chowdhury Dec 9, 2023
b9c88b6
add space
ahnaf-tahmid-chowdhury Dec 9, 2023
26ad7e3
fix DOUBLE_DOWN_VERSION branch for develop
ahnaf-tahmid-chowdhury Dec 9, 2023
2dfa97b
Update name string
ahnaf-tahmid-chowdhury Dec 11, 2023
2a1133e
Update name string
ahnaf-tahmid-chowdhury Dec 11, 2023
fca55ad
allow to chose building geant4 and dd from actions
ahnaf-tahmid-chowdhury Dec 11, 2023
13efae6
double_down default OFF
ahnaf-tahmid-chowdhury Dec 11, 2023
ff3ea55
build Geant4 or DD if enabled
ahnaf-tahmid-chowdhury Dec 11, 2023
78c2ac2
fix ${{ env.image_base_tag }}
ahnaf-tahmid-chowdhury Dec 11, 2023
91d51b0
fix syntax error
ahnaf-tahmid-chowdhury Dec 11, 2023
037e6fc
fix syntex
ahnaf-tahmid-chowdhury Dec 11, 2023
c3136a9
Merge branch 'develop' into dd-ci-fix
ahnaf-tahmid-chowdhury Dec 12, 2023
42a6ab5
add more conditions to container
ahnaf-tahmid-chowdhury Dec 12, 2023
787403a
DOUBLE_DOWN 1.1.0 REQUIRED
ahnaf-tahmid-chowdhury Dec 18, 2023
ef39d66
Update cmake/DAGMC_macros.cmake
ahnaf-tahmid-chowdhury Dec 18, 2023
09dfdb3
update pyne version
gonuke Sep 20, 2023
d9adb17
update version strings
gonuke Sep 20, 2023
ab2901c
Merge branch 'develop' into dd-ci-fix
ahnaf-tahmid-chowdhury Dec 21, 2023
fe7acca
remove extra variables
ahnaf-tahmid-chowdhury Dec 21, 2023
d2aaca9
one arg per line
ahnaf-tahmid-chowdhury Dec 21, 2023
e62f0ff
OFF -> no
ahnaf-tahmid-chowdhury Dec 21, 2023
27430e7
restore
ahnaf-tahmid-chowdhury Dec 21, 2023
4219b7c
no -> off
ahnaf-tahmid-chowdhury Dec 21, 2023
d645877
fix image tag
ahnaf-tahmid-chowdhury Dec 21, 2023
b68d9f8
bad substitution fix
ahnaf-tahmid-chowdhury Dec 21, 2023
36adea7
Merge remote-tracking branch 'upstream/develop' into dd-ci-fix
ahnaf-tahmid-chowdhury Feb 14, 2024
5f844bc
move embree to external_deps stage
ahnaf-tahmid-chowdhury Feb 16, 2024
7bd408c
find_package to set min version
ahnaf-tahmid-chowdhury Feb 21, 2024
b2609ff
embre 3.6.1
ahnaf-tahmid-chowdhury Feb 21, 2024
61dff56
set min version of DD and Geant4 in legacy way
ahnaf-tahmid-chowdhury Feb 21, 2024
abe00a4
if statements in CMake do not require the use of ${} for variable exp…
ahnaf-tahmid-chowdhury Feb 22, 2024
0097561
Merge branch 'develop' into dd-ci-fix
ahnaf-tahmid-chowdhury Feb 22, 2024
adcebb2
Merge branch 'develop' into dd-ci-fix
ahnaf-tahmid-chowdhury Feb 22, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/actions/upstream-test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ inputs:
description: token for logging in to the GHCR
required: true
default: ''
geant_version:
geant4_version:
description: Version of Geant4
required: false
default: 11.1.2
Expand All @@ -25,10 +25,10 @@ inputs:
description: Version of MOAB
required: false
default: 5.3.0
double_down:
description: Whether or not to test Double Down
double_down_version:
description: Version of Double Down
required: false
default: OFF
default: v1.1.0

runs:
using: "composite"
Expand All @@ -50,4 +50,4 @@ runs:
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 }}
build-args: COMPILER=${{ inputs.compiler }}, Geant4_VERSION=${{ inputs.geant4_version }}, UBUNTU_VERSION=${{ inputs.ubuntu_version }}, HDF5_VERSION=${{ inputs.hdf5_version }}, MOAB_VERSION=${{ inputs.moab_version }}, DOUBLE_DOWN_VERSION=${{ inputs.double_down_version }}
38 changes: 19 additions & 19 deletions .github/workflows/docker_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,24 +14,24 @@ jobs:

strategy:
matrix:
ubuntu_versions : [
ubuntu_version : [
20.04,
22.04,
]
compiler : [
gcc,
clang,
]
hdf5_versions : [
1.10.4,
hdf5_version : [
1.10.4,
]
moab_versions : [
5.3.0,
moab_version : [
5.3.0,
]
double_down : [
OFF,
double_down_version : [
v1.1.0,
]
geant_version : [
geant4_version : [
10.7.4,
11.1.2
]
Expand Down Expand Up @@ -60,14 +60,14 @@ jobs:
- name: Installing Dependencies in Docker image
uses: firehed/multistage-docker-build-action@v1
with:
repository: ghcr.io/${{ github.repository_owner }}/dagmc-ci-ubuntu-${{ matrix.ubuntu_versions }}-${{ matrix.compiler}}-geant4_${{ matrix.geant_version }}-hdf5_${{ matrix.hdf5_versions}}-moab_${{ matrix.moab_versions }}
repository: ghcr.io/${{ github.repository_owner }}/dagmc-ci-ubuntu-${{ matrix.ubuntu_version }}-${{ matrix.compiler}}-geant4_${{ matrix.geant4_version }}-hdf5_${{ matrix.hdf5_version}}-moab_${{ matrix.moab_version }}
stages: base, external_deps, hdf5, moab, dagmc
server-stage: dagmc_test
quiet: false
parallel: true
tag-latest-on-default: ${{ env.tag-latest-on-default }}
dockerfile: CI/Dockerfile
build-args: double_down=${{ matrix.double_down}}, geant4_version=${{ matrix.geant_version }}, COMPILER=${{ matrix.compiler }}, UBUNTU_VERSION=${{ matrix.ubuntu_versions }}, HDF5_VERSION=${{ matrix.hdf5_versions }}, MOAB_BRANCH=${{ matrix.moab_versions }}
build-args: DOUBLE_DOWN_VERSION=${{ matrix.double_down_version}}, Geant4_VERSION=${{ matrix.geant4_version }}, COMPILER=${{ matrix.compiler }}, UBUNTU_VERSION=${{ matrix.ubuntu_version }}, HDF5_VERSION=${{ matrix.hdf5_version }}, MOAB_VERSION=${{ matrix.moab_version }}


push_stable_ci_img:
Expand All @@ -76,24 +76,24 @@ jobs:

strategy:
matrix:
ubuntu_versions : [
ubuntu_version : [
20.04,
22.04,
]
compiler : [
gcc,
clang,
]
hdf5_versions : [
1.10.4,
hdf5_version : [
1.10.4,
]
moab_versions : [
5.3.0,
moab_version : [
5.3.0,
]
double_down : [
OFF,
double_down_version : [
v1.1.0,
]
geant_version : [
geant4_version : [
10.7.4,
11.1.2
]
Expand All @@ -111,7 +111,7 @@ jobs:
- name: Store image name
if: ${{ github.repository_owner == 'svalinn' }}
run: |
echo "image_base_tag=ghcr.io/${{ github.repository_owner }}/dagmc-ci-ubuntu-${{ matrix.ubuntu_versions }}-${{ matrix.compiler }}-geant4_${{ matrix.geant_version }}-hdf5_${{ matrix.hdf5_versions }}-moab_${{ matrix.moab_versions }}" >> "$GITHUB_ENV"
echo "image_base_tag=ghcr.io/${{ github.repository_owner }}/dagmc-ci-ubuntu-${{ matrix.ubuntu_version }}-${{ matrix.compiler }}-geant4_${{ matrix.geant4_version }}-hdf5_${{ matrix.hdf5_version }}-moab_${{ matrix.moab_version }}" >> "$GITHUB_ENV"

- name: Push Image as latest img
if: ${{ github.repository_owner == 'svalinn' && github.ref == 'refs/heads/develop' }}
Expand Down
17 changes: 7 additions & 10 deletions .github/workflows/linux_build_test.yml
ahnaf-tahmid-chowdhury marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -36,29 +36,26 @@ jobs:

strategy:
matrix:
ubuntu_versions : [
ubuntu_version : [
20.04,
22.04,
]
compiler : [
gcc,
clang,
]
hdf5_versions : [
1.10.4,
]
moab_versions : [
5.3.0,
hdf5_version : [
1.10.4,
]
double_down : [
OFF,
moab_version : [
5.3.0,
]
geant_version : [
10.7.4,
]

container:
image: ghcr.io/svalinn/dagmc-ci-ubuntu-${{ matrix.ubuntu_versions }}-${{ matrix.compiler}}-geant4_${{ matrix.geant_version }}-hdf5_${{ matrix.hdf5_versions}}-moab_${{ matrix.moab_versions }}/moab:latest
image: ghcr.io/svalinn/dagmc-ci-ubuntu-${{ matrix.ubuntu_version }}-${{ matrix.compiler}}-geant4_${{ matrix.geant_version }}-hdf5_${{ matrix.hdf5_version}}-moab_${{ matrix.moab_version }}/moab:latest

steps:
- name: Checkout repository
Expand All @@ -83,7 +80,7 @@ jobs:
-DCMAKE_CXX_COMPILER=${CXX} \
-DCMAKE_Fortran_COMPILER=gfortran \
-DCMAKE_INSTALL_PREFIX=${install_dir}/dagmc \
-DDOUBLE_DOWN=${double_down} \
-DDOUBLE_DOWN=ON \
-DCMAKE_CXX_FLAGS="-Werror=reorder" \
-Ddd_ROOT=${double_down_install_dir} && \
make -j2 && \
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/linux_upstream_test_double_down.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Test against Double Down on PR merge
name: Test against newer Double Down on PR merge

ahnaf-tahmid-chowdhury marked this conversation as resolved.
Show resolved Hide resolved
on:
# allows us to run workflows manually
Expand Down Expand Up @@ -27,6 +27,4 @@ jobs:
uses: ./.github/actions/upstream-test
with:
token: ${{ secrets.GITHUB_TOKEN }}
double_down: ON


double_down_version: develop
1 change: 0 additions & 1 deletion .github/workflows/linux_upstream_test_geant4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,3 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
geant_version: 11.1.2

2 changes: 1 addition & 1 deletion .github/workflows/linux_upstream_test_moab.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Test against MOAB master on PR merge
name: Test against newer MOAB on PR merge

ahnaf-tahmid-chowdhury marked this conversation as resolved.
Show resolved Hide resolved
on:
# allows us to run workflows manually
Expand Down
Loading
Loading