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

Update image used by CIs and update GH Actions used #169

Merged
merged 3 commits into from
Oct 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
17 changes: 10 additions & 7 deletions .github/workflows/acoustics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,9 @@ on:
workflow_dispatch:

env:

SOURCE_DIR: '/__w/arcanefem/arcanefem/src'
BUILD_DIR: '/__w/arcanefem/arcanefem/build'
MODULE_DIR: 'acoustics'

# CTest
CT_RESULT_DIR: '/__w/arcanefem/arcanefem/test'
CT_OPTS: "--timeout 300 --output-on-failure"

# MPI
Expand All @@ -31,11 +27,18 @@ jobs:
name: 'Build and Test'
runs-on: ubuntu-latest
container:
image: ghcr.io/arcaneframework/arcane_ubuntu-2204:gcc-12_full_check_latest
image: ghcr.io/arcaneframework/arcane_ubuntu-2404:gcc-14_full_check_latest

steps:
- name: Define environment paths
shell: bash
run: |
echo "SOURCE_DIR=${GITHUB_WORKSPACE}/src" >> $GITHUB_ENV
echo "BUILD_DIR=${GITHUB_WORKSPACE}/build" >> $GITHUB_ENV
echo "CT_RESULT_DIR=${GITHUB_WORKSPACE}/test" >> $GITHUB_ENV

- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: ${{ env.SOURCE_DIR }}

Expand All @@ -59,7 +62,7 @@ jobs:
ctest --test-dir ${{ env.BUILD_DIR }} --output-junit ${{ env.CT_RESULT_DIR }}/results.xml ${{ env.CT_OPTS }} -R '\[${{ env.MODULE_DIR }}\]'

- name: Upload test artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: tests-${{ env.MODULE_DIR }}-artifact
Expand Down
17 changes: 10 additions & 7 deletions .github/workflows/aerodynamics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,9 @@ on:
workflow_dispatch:

env:

SOURCE_DIR: '/__w/arcanefem/arcanefem/src'
BUILD_DIR: '/__w/arcanefem/arcanefem/build'
MODULE_DIR: 'aerodynamics'

# CTest
CT_RESULT_DIR: '/__w/arcanefem/arcanefem/test'
CT_OPTS: "--timeout 300 --output-on-failure"

# MPI
Expand All @@ -31,11 +27,18 @@ jobs:
name: 'Build and Test'
runs-on: ubuntu-latest
container:
image: ghcr.io/arcaneframework/arcane_ubuntu-2204:gcc-12_full_check_latest
image: ghcr.io/arcaneframework/arcane_ubuntu-2404:gcc-14_full_check_latest

steps:
- name: Define environment paths
shell: bash
run: |
echo "SOURCE_DIR=${GITHUB_WORKSPACE}/src" >> $GITHUB_ENV
echo "BUILD_DIR=${GITHUB_WORKSPACE}/build" >> $GITHUB_ENV
echo "CT_RESULT_DIR=${GITHUB_WORKSPACE}/test" >> $GITHUB_ENV

- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: ${{ env.SOURCE_DIR }}

Expand All @@ -59,7 +62,7 @@ jobs:
ctest --test-dir ${{ env.BUILD_DIR }} --output-junit ${{ env.CT_RESULT_DIR }}/results.xml ${{ env.CT_OPTS }} -R '\[${{ env.MODULE_DIR }}\]'

- name: Upload test artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: tests-${{ env.MODULE_DIR }}-artifact
Expand Down
17 changes: 10 additions & 7 deletions .github/workflows/bilaplacian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,9 @@ on:
workflow_dispatch:

env:

SOURCE_DIR: '/__w/arcanefem/arcanefem/src'
BUILD_DIR: '/__w/arcanefem/arcanefem/build'
MODULE_DIR: 'bilaplacian'

# CTest
CT_RESULT_DIR: '/__w/arcanefem/arcanefem/test'
CT_OPTS: "--timeout 300 --output-on-failure"

# MPI
Expand All @@ -31,11 +27,18 @@ jobs:
name: 'Build and Test'
runs-on: ubuntu-latest
container:
image: ghcr.io/arcaneframework/arcane_ubuntu-2204:gcc-12_full_check_latest
image: ghcr.io/arcaneframework/arcane_ubuntu-2404:gcc-14_full_check_latest

steps:
- name: Define environment paths
shell: bash
run: |
echo "SOURCE_DIR=${GITHUB_WORKSPACE}/src" >> $GITHUB_ENV
echo "BUILD_DIR=${GITHUB_WORKSPACE}/build" >> $GITHUB_ENV
echo "CT_RESULT_DIR=${GITHUB_WORKSPACE}/test" >> $GITHUB_ENV

- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: ${{ env.SOURCE_DIR }}

Expand All @@ -59,7 +62,7 @@ jobs:
ctest --test-dir ${{ env.BUILD_DIR }} --output-junit ${{ env.CT_RESULT_DIR }}/results.xml ${{ env.CT_OPTS }} -R '\[${{ env.MODULE_DIR }}\]'

- name: Upload test artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: tests-${{ env.MODULE_DIR }}-artifact
Expand Down
17 changes: 10 additions & 7 deletions .github/workflows/elasticity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,9 @@ on:
workflow_dispatch:

env:

SOURCE_DIR: '/__w/arcanefem/arcanefem/src'
BUILD_DIR: '/__w/arcanefem/arcanefem/build'
MODULE_DIR: 'elasticity'

# CTest
CT_RESULT_DIR: '/__w/arcanefem/arcanefem/test'
CT_OPTS: "--timeout 300 --output-on-failure"

# MPI
Expand All @@ -31,11 +27,18 @@ jobs:
name: 'Build and Test'
runs-on: ubuntu-latest
container:
image: ghcr.io/arcaneframework/arcane_ubuntu-2204:gcc-12_full_check_latest
image: ghcr.io/arcaneframework/arcane_ubuntu-2404:gcc-14_full_check_latest

steps:
- name: Define environment paths
shell: bash
run: |
echo "SOURCE_DIR=${GITHUB_WORKSPACE}/src" >> $GITHUB_ENV
echo "BUILD_DIR=${GITHUB_WORKSPACE}/build" >> $GITHUB_ENV
echo "CT_RESULT_DIR=${GITHUB_WORKSPACE}/test" >> $GITHUB_ENV

- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: ${{ env.SOURCE_DIR }}

Expand All @@ -59,7 +62,7 @@ jobs:
ctest --test-dir ${{ env.BUILD_DIR }} --output-junit ${{ env.CT_RESULT_DIR }}/results.xml ${{ env.CT_OPTS }} -R '\[${{ env.MODULE_DIR }}\]'

- name: Upload test artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: tests-${{ env.MODULE_DIR }}-artifact
Expand Down
17 changes: 10 additions & 7 deletions .github/workflows/elastodynamics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,9 @@ on:
workflow_dispatch:

env:

SOURCE_DIR: '/__w/arcanefem/arcanefem/src'
BUILD_DIR: '/__w/arcanefem/arcanefem/build'
MODULE_DIR: 'elastodynamics'

# CTest
CT_RESULT_DIR: '/__w/arcanefem/arcanefem/test'
CT_OPTS: "--timeout 300 --output-on-failure"

# MPI
Expand All @@ -31,11 +27,18 @@ jobs:
name: 'Build and Test'
runs-on: ubuntu-latest
container:
image: ghcr.io/arcaneframework/arcane_ubuntu-2204:gcc-12_full_check_latest
image: ghcr.io/arcaneframework/arcane_ubuntu-2404:gcc-14_full_check_latest

steps:
- name: Define environment paths
shell: bash
run: |
echo "SOURCE_DIR=${GITHUB_WORKSPACE}/src" >> $GITHUB_ENV
echo "BUILD_DIR=${GITHUB_WORKSPACE}/build" >> $GITHUB_ENV
echo "CT_RESULT_DIR=${GITHUB_WORKSPACE}/test" >> $GITHUB_ENV

- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: ${{ env.SOURCE_DIR }}

Expand All @@ -59,7 +62,7 @@ jobs:
ctest --test-dir ${{ env.BUILD_DIR }} --output-junit ${{ env.CT_RESULT_DIR }}/results.xml ${{ env.CT_OPTS }} -R '\[${{ env.MODULE_DIR }}\]'

- name: Upload test artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: tests-${{ env.MODULE_DIR }}-artifact
Expand Down
17 changes: 10 additions & 7 deletions .github/workflows/electrostatics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,9 @@ on:
workflow_dispatch:

env:

SOURCE_DIR: '/__w/arcanefem/arcanefem/src'
BUILD_DIR: '/__w/arcanefem/arcanefem/build'
MODULE_DIR: 'electrostatics'

# CTest
CT_RESULT_DIR: '/__w/arcanefem/arcanefem/test'
CT_OPTS: "--timeout 300 --output-on-failure"

# MPI
Expand All @@ -31,11 +27,18 @@ jobs:
name: 'Build and Test'
runs-on: ubuntu-latest
container:
image: ghcr.io/arcaneframework/arcane_ubuntu-2204:gcc-12_full_check_latest
image: ghcr.io/arcaneframework/arcane_ubuntu-2404:gcc-14_full_check_latest

steps:
- name: Define environment paths
shell: bash
run: |
echo "SOURCE_DIR=${GITHUB_WORKSPACE}/src" >> $GITHUB_ENV
echo "BUILD_DIR=${GITHUB_WORKSPACE}/build" >> $GITHUB_ENV
echo "CT_RESULT_DIR=${GITHUB_WORKSPACE}/test" >> $GITHUB_ENV

- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: ${{ env.SOURCE_DIR }}

Expand All @@ -59,7 +62,7 @@ jobs:
ctest --test-dir ${{ env.BUILD_DIR }} --output-junit ${{ env.CT_RESULT_DIR }}/results.xml ${{ env.CT_OPTS }} -R '\[${{ env.MODULE_DIR }}\]'

- name: Upload test artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: tests-${{ env.MODULE_DIR }}-artifact
Expand Down
17 changes: 10 additions & 7 deletions .github/workflows/fourier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,9 @@ on:
workflow_dispatch:

env:

SOURCE_DIR: '/__w/arcanefem/arcanefem/src'
BUILD_DIR: '/__w/arcanefem/arcanefem/build'
MODULE_DIR: 'fourier'

# CTest
CT_RESULT_DIR: '/__w/arcanefem/arcanefem/test'
CT_OPTS: "--timeout 300 --output-on-failure"

# MPI
Expand All @@ -31,11 +27,18 @@ jobs:
name: 'Build and Test'
runs-on: ubuntu-latest
container:
image: ghcr.io/arcaneframework/arcane_ubuntu-2204:gcc-12_full_check_latest
image: ghcr.io/arcaneframework/arcane_ubuntu-2404:gcc-14_full_check_latest

steps:
- name: Define environment paths
shell: bash
run: |
echo "SOURCE_DIR=${GITHUB_WORKSPACE}/src" >> $GITHUB_ENV
echo "BUILD_DIR=${GITHUB_WORKSPACE}/build" >> $GITHUB_ENV
echo "CT_RESULT_DIR=${GITHUB_WORKSPACE}/test" >> $GITHUB_ENV

- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: ${{ env.SOURCE_DIR }}

Expand All @@ -59,7 +62,7 @@ jobs:
ctest --test-dir ${{ env.BUILD_DIR }} --output-junit ${{ env.CT_RESULT_DIR }}/results.xml ${{ env.CT_OPTS }} -R '\[${{ env.MODULE_DIR }}\]'

- name: Upload test artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: tests-${{ env.MODULE_DIR }}-artifact
Expand Down
17 changes: 10 additions & 7 deletions .github/workflows/heat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,9 @@ on:
workflow_dispatch:

env:

SOURCE_DIR: '/__w/arcanefem/arcanefem/src'
BUILD_DIR: '/__w/arcanefem/arcanefem/build'
MODULE_DIR: 'heat'

# CTest
CT_RESULT_DIR: '/__w/arcanefem/arcanefem/test'
CT_OPTS: "--timeout 300 --output-on-failure"

# MPI
Expand All @@ -31,11 +27,18 @@ jobs:
name: 'Build and Test'
runs-on: ubuntu-latest
container:
image: ghcr.io/arcaneframework/arcane_ubuntu-2204:gcc-12_full_check_latest
image: ghcr.io/arcaneframework/arcane_ubuntu-2404:gcc-14_full_check_latest

steps:
- name: Define environment paths
shell: bash
run: |
echo "SOURCE_DIR=${GITHUB_WORKSPACE}/src" >> $GITHUB_ENV
echo "BUILD_DIR=${GITHUB_WORKSPACE}/build" >> $GITHUB_ENV
echo "CT_RESULT_DIR=${GITHUB_WORKSPACE}/test" >> $GITHUB_ENV

- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: ${{ env.SOURCE_DIR }}

Expand All @@ -59,7 +62,7 @@ jobs:
ctest --test-dir ${{ env.BUILD_DIR }} --output-junit ${{ env.CT_RESULT_DIR }}/results.xml ${{ env.CT_OPTS }} -R '\[${{ env.MODULE_DIR }}\]'

- name: Upload test artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: tests-${{ env.MODULE_DIR }}-artifact
Expand Down
Loading