Skip to content

Commit

Permalink
#349: try to use wf images
Browse files Browse the repository at this point in the history
  • Loading branch information
cz4rs committed Dec 31, 2024
1 parent 2015831 commit 441a1e2
Show file tree
Hide file tree
Showing 20 changed files with 42 additions and 433 deletions.
17 changes: 3 additions & 14 deletions .github/workflows/dockerimage-clang-10-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest

env:
REPO: lifflander1/checkpoint
REPO: lifflander1/vt
ARCH: amd64
UBUNTU: 20.04
COMPILER_TYPE: clang
Expand Down Expand Up @@ -54,22 +54,11 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Prepare the base Docker image
shell: bash
run: $(./scripts/check_containers.sh) ubuntu-cpp
- name: Build the Docker image
- name: Build and Test
run: docker compose run ubuntu-cpp
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: Docker Push Base Image
if: ${{ success() && github.ref == 'refs/heads/develop' }}
continue-on-error: true
shell: bash
run: |
docker login -u ${{ secrets.DOCKER_USERNAME }} \
-p ${{ secrets.DOCKER_PASSWORD }}
docker compose push ubuntu-cpp
- name: Zip up CMake output
- name: Collect logs
run: |
zip -j LastTest.log.gz ${{ env.BUILD_ROOT }}/checkpoint/Testing/Temporary/LastTest.log
zip -j cmake-output.log.gz ${{ env.BUILD_ROOT }}/checkpoint/cmake-output.log
Expand Down
17 changes: 3 additions & 14 deletions .github/workflows/dockerimage-clang-11-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest

env:
REPO: lifflander1/checkpoint
REPO: lifflander1/vt
ARCH: amd64
UBUNTU: 20.04
COMPILER_TYPE: clang
Expand Down Expand Up @@ -54,22 +54,11 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Prepare the base Docker image
shell: bash
run: $(./scripts/check_containers.sh) ubuntu-cpp
- name: Build the Docker image
- name: Build and Test
run: docker compose run ubuntu-cpp
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: Docker Push Base Image
if: ${{ success() && github.ref == 'refs/heads/develop' }}
continue-on-error: true
shell: bash
run: |
docker login -u ${{ secrets.DOCKER_USERNAME }} \
-p ${{ secrets.DOCKER_PASSWORD }}
docker compose push ubuntu-cpp
- name: Zip up CMake output
- name: Collect logs
run: |
zip -j LastTest.log.gz ${{ env.BUILD_ROOT }}/checkpoint/Testing/Temporary/LastTest.log
zip -j cmake-output.log.gz ${{ env.BUILD_ROOT }}/checkpoint/cmake-output.log
Expand Down
17 changes: 3 additions & 14 deletions .github/workflows/dockerimage-clang-12-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest

env:
REPO: lifflander1/checkpoint
REPO: lifflander1/vt
ARCH: amd64
UBUNTU: 20.04
COMPILER_TYPE: clang
Expand Down Expand Up @@ -54,22 +54,11 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Prepare the base Docker image
shell: bash
run: $(./scripts/check_containers.sh) ubuntu-cpp
- name: Build the Docker image
- name: Build and Test
run: docker compose run ubuntu-cpp
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: Docker Push Base Image
if: ${{ success() && github.ref == 'refs/heads/develop' }}
continue-on-error: true
shell: bash
run: |
docker login -u ${{ secrets.DOCKER_USERNAME }} \
-p ${{ secrets.DOCKER_PASSWORD }}
docker compose push ubuntu-cpp
- name: Zip up CMake output
- name: Collect logs
run: |
zip -j LastTest.log.gz ${{ env.BUILD_ROOT }}/checkpoint/Testing/Temporary/LastTest.log
zip -j cmake-output.log.gz ${{ env.BUILD_ROOT }}/checkpoint/cmake-output.log
Expand Down
17 changes: 3 additions & 14 deletions .github/workflows/dockerimage-clang-13-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest

env:
REPO: lifflander1/checkpoint
REPO: lifflander1/vt
ARCH: amd64
UBUNTU: 22.04
COMPILER_TYPE: clang
Expand Down Expand Up @@ -54,22 +54,11 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Prepare the base Docker image
shell: bash
run: $(./scripts/check_containers.sh) ubuntu-cpp
- name: Build the Docker image
- name: Build and Test
run: docker compose run ubuntu-cpp
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: Docker Push Base Image
if: ${{ success() && github.ref == 'refs/heads/develop' }}
continue-on-error: true
shell: bash
run: |
docker login -u ${{ secrets.DOCKER_USERNAME }} \
-p ${{ secrets.DOCKER_PASSWORD }}
docker compose push ubuntu-cpp
- name: Zip up CMake output
- name: Collect logs
run: |
zip -j LastTest.log.gz ${{ env.BUILD_ROOT }}/checkpoint/Testing/Temporary/LastTest.log
zip -j cmake-output.log.gz ${{ env.BUILD_ROOT }}/checkpoint/cmake-output.log
Expand Down
17 changes: 3 additions & 14 deletions .github/workflows/dockerimage-clang-14-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest

env:
REPO: lifflander1/checkpoint
REPO: lifflander1/vt
ARCH: amd64
UBUNTU: 22.04
COMPILER_TYPE: clang
Expand Down Expand Up @@ -54,22 +54,11 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Prepare the base Docker image
shell: bash
run: $(./scripts/check_containers.sh) ubuntu-cpp
- name: Build the Docker image
- name: Build and Test
run: docker compose run ubuntu-cpp
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: Docker Push Base Image
if: ${{ success() && github.ref == 'refs/heads/develop' }}
continue-on-error: true
shell: bash
run: |
docker login -u ${{ secrets.DOCKER_USERNAME }} \
-p ${{ secrets.DOCKER_PASSWORD }}
docker compose push ubuntu-cpp
- name: Zip up CMake output
- name: Collect logs
run: |
zip -j LastTest.log.gz ${{ env.BUILD_ROOT }}/checkpoint/Testing/Temporary/LastTest.log
zip -j cmake-output.log.gz ${{ env.BUILD_ROOT }}/checkpoint/cmake-output.log
Expand Down
17 changes: 3 additions & 14 deletions .github/workflows/dockerimage-clang-8-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest

env:
REPO: lifflander1/checkpoint
REPO: lifflander1/vt
ARCH: amd64
UBUNTU: 18.04
COMPILER_TYPE: clang
Expand Down Expand Up @@ -54,22 +54,11 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Prepare the base Docker image
shell: bash
run: $(./scripts/check_containers.sh) ubuntu-cpp
- name: Build the Docker image
- name: Build and Test
run: docker compose run ubuntu-cpp
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: Docker Push Base Image
if: ${{ success() && github.ref == 'refs/heads/develop' }}
continue-on-error: true
shell: bash
run: |
docker login -u ${{ secrets.DOCKER_USERNAME }} \
-p ${{ secrets.DOCKER_PASSWORD }}
docker compose push ubuntu-cpp
- name: Zip up CMake output
- name: Collect logs
run: |
zip -j LastTest.log.gz ${{ env.BUILD_ROOT }}/checkpoint/Testing/Temporary/LastTest.log
zip -j cmake-output.log.gz ${{ env.BUILD_ROOT }}/checkpoint/cmake-output.log
Expand Down
17 changes: 3 additions & 14 deletions .github/workflows/dockerimage-clang-9-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest

env:
REPO: lifflander1/checkpoint
REPO: lifflander1/vt
ARCH: amd64
UBUNTU: 18.04
COMPILER_TYPE: clang
Expand Down Expand Up @@ -54,22 +54,11 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Prepare the base Docker image
shell: bash
run: $(./scripts/check_containers.sh) ubuntu-cpp
- name: Build the Docker image
- name: Build and Test
run: docker compose run ubuntu-cpp
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: Docker Push Base Image
if: ${{ success() && github.ref == 'refs/heads/develop' }}
continue-on-error: true
shell: bash
run: |
docker login -u ${{ secrets.DOCKER_USERNAME }} \
-p ${{ secrets.DOCKER_PASSWORD }}
docker compose push ubuntu-cpp
- name: Zip up CMake output
- name: Collect logs
run: |
zip -j LastTest.log.gz ${{ env.BUILD_ROOT }}/checkpoint/Testing/Temporary/LastTest.log
zip -j cmake-output.log.gz ${{ env.BUILD_ROOT }}/checkpoint/cmake-output.log
Expand Down
17 changes: 3 additions & 14 deletions .github/workflows/dockerimage-gcc-10-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest

env:
REPO: lifflander1/checkpoint
REPO: lifflander1/vt
ARCH: amd64
UBUNTU: 20.04
COMPILER_TYPE: gnu
Expand Down Expand Up @@ -54,22 +54,11 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Prepare the base Docker image
shell: bash
run: $(./scripts/check_containers.sh) ubuntu-cpp
- name: Build the Docker image
- name: Build and Test
run: docker compose run ubuntu-cpp
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: Docker Push Base Image
if: ${{ success() && github.ref == 'refs/heads/develop' }}
continue-on-error: true
shell: bash
run: |
docker login -u ${{ secrets.DOCKER_USERNAME }} \
-p ${{ secrets.DOCKER_PASSWORD }}
docker compose push ubuntu-cpp
- name: Zip up CMake output
- name: Collect logs
run: |
zip -j LastTest.log.gz ${{ env.BUILD_ROOT }}/checkpoint/Testing/Temporary/LastTest.log
zip -j cmake-output.log.gz ${{ env.BUILD_ROOT }}/checkpoint/cmake-output.log
Expand Down
17 changes: 3 additions & 14 deletions .github/workflows/dockerimage-gcc-8-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest

env:
REPO: lifflander1/checkpoint
REPO: lifflander1/vt
ARCH: amd64
UBUNTU: 18.04
COMPILER_TYPE: gnu
Expand Down Expand Up @@ -54,22 +54,11 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Prepare the base Docker image
shell: bash
run: $(./scripts/check_containers.sh) ubuntu-cpp
- name: Build the Docker image
- name: Build and Test
run: docker compose run ubuntu-cpp
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: Docker Push Base Image
if: ${{ success() && github.ref == 'refs/heads/develop' }}
continue-on-error: true
shell: bash
run: |
docker login -u ${{ secrets.DOCKER_USERNAME }} \
-p ${{ secrets.DOCKER_PASSWORD }}
docker compose push ubuntu-cpp
- name: Zip up CMake output
- name: Collect logs
run: |
zip -j LastTest.log.gz ${{ env.BUILD_ROOT }}/checkpoint/Testing/Temporary/LastTest.log
zip -j cmake-output.log.gz ${{ env.BUILD_ROOT }}/checkpoint/cmake-output.log
Expand Down
17 changes: 3 additions & 14 deletions .github/workflows/dockerimage-gcc-9-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest

env:
REPO: lifflander1/checkpoint
REPO: lifflander1/vt
ARCH: amd64
UBUNTU: 20.04
COMPILER_TYPE: gnu
Expand Down Expand Up @@ -54,22 +54,11 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Prepare the base Docker image
shell: bash
run: $(./scripts/check_containers.sh) ubuntu-cpp
- name: Build the Docker image
- name: Build and Test
run: docker compose run ubuntu-cpp
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: Docker Push Base Image
if: ${{ success() && github.ref == 'refs/heads/develop' }}
continue-on-error: true
shell: bash
run: |
docker login -u ${{ secrets.DOCKER_USERNAME }} \
-p ${{ secrets.DOCKER_PASSWORD }}
docker compose push ubuntu-cpp
- name: Zip up CMake output
- name: Collect logs
run: |
zip -j LastTest.log.gz ${{ env.BUILD_ROOT }}/checkpoint/Testing/Temporary/LastTest.log
zip -j cmake-output.log.gz ${{ env.BUILD_ROOT }}/checkpoint/cmake-output.log
Expand Down
17 changes: 3 additions & 14 deletions .github/workflows/dockerimage-nvcc-11-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest

env:
REPO: lifflander1/checkpoint
REPO: lifflander1/vt
ARCH: amd64
UBUNTU: 20.04
COMPILER_TYPE: nvidia
Expand Down Expand Up @@ -54,22 +54,11 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Prepare the base Docker image
shell: bash
run: $(./scripts/check_containers.sh) ubuntu-cpp
- name: Build the Docker image
- name: Build and Test
run: docker compose run ubuntu-cpp
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: Docker Push Base Image
if: ${{ success() && github.ref == 'refs/heads/develop' }}
continue-on-error: true
shell: bash
run: |
docker login -u ${{ secrets.DOCKER_USERNAME }} \
-p ${{ secrets.DOCKER_PASSWORD }}
docker compose push ubuntu-cpp
- name: Zip up CMake output
- name: Collect logs
run: |
zip -j LastTest.log.gz ${{ env.BUILD_ROOT }}/checkpoint/Testing/Temporary/LastTest.log
zip -j cmake-output.log.gz ${{ env.BUILD_ROOT }}/checkpoint/cmake-output.log
Expand Down
Loading

0 comments on commit 441a1e2

Please sign in to comment.