Skip to content

Commit

Permalink
#68 update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
kwabenantim committed Apr 26, 2024
1 parent d5d3ed6 commit ca1b263
Show file tree
Hide file tree
Showing 25 changed files with 176 additions and 177 deletions.
2 changes: 1 addition & 1 deletion .github/actions/setup-boost/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ runs:
using: composite
steps:
- id: cache-boost
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
${{ env.MODULES_DIR }}/opt/boost/${{ inputs.boost_ver }}
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/setup-petsc_hdf5/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ runs:
using: composite
steps:
- id: cache-petsc_hdf5
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
${{ env.MODULES_DIR }}/opt/petsc_hdf5/${{ inputs.petsc_ver }}_${{ inputs.hdf5_ver }}
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/setup-sundials/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ runs:
using: composite
steps:
- id: cache-sundials
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
${{ env.MODULES_DIR }}/opt/sundials/${{ inputs.sundials_ver }}
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/setup-vtk/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ runs:
using: composite
steps:
- id: cache-vtk
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
${{ env.MODULES_DIR }}/opt/vtk/${{ inputs.vtk_ver }}
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/setup-xercesc/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ runs:
using: composite
steps:
- id: cache-xercesc
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
${{ env.MODULES_DIR }}/opt/xercesc/${{ inputs.xercesc_ver }}
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/setup-xsd/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ runs:
using: composite
steps:
- id: cache-xsd
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
${{ env.MODULES_DIR }}/opt/xsd/${{ inputs.xsd_ver }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/boost.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:

steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: setup os
uses: ./.github/actions/setup-defaults
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/docker-portability-01.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
docker:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
Expand All @@ -23,41 +23,41 @@ jobs:
VTK=6.3.0
PETSC=3.12.4
HDF5=1.10.4
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Login to DockerHub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and export to Docker
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
context: .
pull: true
load: true
tags: ${{ matrix.tags }}
build-args: ${{ matrix.build-args }}

- name: Test image
run: |
tags=( ${{ matrix.tags }} )
for tag in "${tags[@]}"; do
docker run --rm --entrypoint /bin/bash ${tag}
done
- name: Build and push
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
context: .
pull: true
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/docker-portability-02.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
docker:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
Expand All @@ -22,41 +22,41 @@ jobs:
VTK=7.1.1
PETSC=3.13.6
HDF5=1.10.5
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Login to DockerHub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and export to Docker
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
context: .
pull: true
load: true
tags: ${{ matrix.tags }}
build-args: ${{ matrix.build-args }}

- name: Test image
run: |
tags=( ${{ matrix.tags }} )
for tag in "${tags[@]}"; do
docker run --rm --entrypoint /bin/bash ${tag}
done
- name: Build and push
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
context: .
pull: true
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/docker-portability-03.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
docker:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
Expand All @@ -22,41 +22,41 @@ jobs:
VTK=9.0.3
PETSC=3.14.6
HDF5=1.10.6
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Login to DockerHub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and export to Docker
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
context: .
pull: true
load: true
tags: ${{ matrix.tags }}
build-args: ${{ matrix.build-args }}

- name: Test image
run: |
tags=( ${{ matrix.tags }} )
for tag in "${tags[@]}"; do
docker run --rm --entrypoint /bin/bash ${tag}
done
- name: Build and push
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
context: .
pull: true
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/docker-portability-04.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
docker:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
Expand All @@ -22,41 +22,41 @@ jobs:
VTK=8.2.0
PETSC=3.15.5
HDF5=1.10.7
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Login to DockerHub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and export to Docker
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
context: .
pull: true
load: true
tags: ${{ matrix.tags }}
build-args: ${{ matrix.build-args }}

- name: Test image
run: |
tags=( ${{ matrix.tags }} )
for tag in "${tags[@]}"; do
docker run --rm --entrypoint /bin/bash ${tag}
done
- name: Build and push
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
context: .
pull: true
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/docker-portability-05.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
docker:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
Expand All @@ -22,41 +22,41 @@ jobs:
VTK=9.1.0
PETSC=3.15.5
HDF5=1.10.8
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Login to DockerHub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and export to Docker
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
context: .
pull: true
load: true
tags: ${{ matrix.tags }}
build-args: ${{ matrix.build-args }}

- name: Test image
run: |
tags=( ${{ matrix.tags }} )
for tag in "${tags[@]}"; do
docker run --rm --entrypoint /bin/bash ${tag}
done
- name: Build and push
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
context: .
pull: true
Expand Down
Loading

0 comments on commit ca1b263

Please sign in to comment.