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

895 Add Intel compilers v19 to CI #896

Closed
wants to merge 1 commit into from
Closed
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
77 changes: 77 additions & 0 deletions .github/workflows/dockerimage-intel-19-ubuntu-mpich.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
name: PR tests (intel 19.1, ubuntu, mpich)

on:
push:
branches:
- develop
- 1.*
pull_request:

jobs:

build_allow_fail:

runs-on: ubuntu-latest

env:
REPO: lifflander1/vt
ARCH: amd64
UBUNTU: 18.04
COMPILER_TYPE: intel
COMPILER: icc-19
BUILD_TYPE: release
ULIMIT_CORE: 0
VT_LB: 1
VT_TRACE: 1
VT_TRACE_RT: 0
VT_MIMALLOC: 0
VT_DOCS: 0
VT_ASAN: 0
VT_POOL: 0
CACHE: ~/.local/cache/

steps:
- name: Setup Build Root
uses: allenevans/[email protected]
with:
BUILD_ROOT: "~/.local/cache/${{ env.ARCH }}-ubuntu-${{ env.UBUNTU }}-${{ env.COMPILER }}-cache/"
- name: Prepare caching timestamp
id: cache_ts
shell: cmake -P {0}
run: |
string(TIMESTAMP current_date "%Y-%m-%d-%H;%M;%S" UTC)
message("::set-output name=timestamp::${current_date}")
- uses: actions/cache@v1
env:
cache-name: ubuntu-intel-19-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@v2
- name: Docker Pull Base Image
shell: bash
run: docker-compose pull --ignore-pull-failures ubuntu-cpp-clean
- name: Build the Docker image
run: docker-compose run ubuntu-cpp-clean
- name: Docker Push Base Image
if: success()
continue-on-error: true
shell: bash
run: |
docker login -u ${{ secrets.DOCKER_USERNAME }} \
-p ${{ secrets.DOCKER_PASSWORD }}
docker-compose push ubuntu-cpp-clean
- name: Zip up CMake output
run: |
zip -j LastTest.log.gz ${{ env.BUILD_ROOT }}/vt/Testing/Temporary/LastTest.log
zip -j cmake-output.log.gz ${{ env.BUILD_ROOT }}/vt/cmake-output.log
- uses: actions/upload-artifact@v1
with:
name: CMake test output
path: cmake-output.log.gz
- uses: actions/upload-artifact@v1
with:
name: CMake full output
path: LastTest.log.gz