#349: docker images cleanup #431
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
name: PR tests with vt (clang-11, ubuntu, mpich) | |
on: | |
push: | |
branches: | |
- develop | |
- 1.* | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
REPO: lifflander1/vt | |
ARCH: amd64 | |
UBUNTU: 22.04 | |
COMPILER_TYPE: clang | |
COMPILER: clang-11 | |
BUILD_TYPE: release | |
ULIMIT_CORE: 0 | |
CODE_COVERAGE: 0 | |
MAGISTRATE_TESTS: 1 | |
MAGISTRATE_EXAMPLES: 1 | |
MAGISTRATE_MPI: 1 | |
MAGISTRATE_WARNINGS_AS_ERRORS: 1 | |
MAGISTRATE_DOCS: 0 | |
MAGISTRATE_ASAN: 0 | |
MAGISTRATE_UBSAN: 0 | |
MAGISTRATE_SERIALIZATION_ERROR_CHECKING: 1 | |
CACHE: ~/.local/cache/ | |
steps: | |
- name: Setup Build Root | |
run: | | |
echo "BUILD_ROOT=~/.local/cache/${{ env.ARCH }}-ubuntu-${{ env.UBUNTU }}-${{ env.COMPILER }}-cache" >> $GITHUB_ENV | |
- name: Prepare caching timestamp | |
run: | | |
echo "timestamp=$(TZ=UTC date +"%Y-%m-%d-%H;%M;%S")" >> $GITHUB_ENV | |
- uses: actions/cache@v4 | |
env: | |
cache-name: ubuntu-clang-11-cache | |
with: | |
path: ${{ env.BUILD_ROOT }}/ccache | |
key: ${{ runner.os }}-${{ env.cache-name }}-${{ steps.cache_ts.outputs.timestamp }} | |
restore-keys: | | |
${{ runner.os }}-${{ env.cache-name }}- | |
- uses: actions/checkout@v4 | |
with: | |
repository: DARMA-tasking/vt | |
ref: develop | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Build and Test | |
run: docker compose run ubuntu-cpp-vt | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |