From 8b75ad76247187572bf607f881299d88d7af82bf Mon Sep 17 00:00:00 2001 From: ado Date: Thu, 25 Feb 2021 20:16:48 +0100 Subject: [PATCH] try new ubuntu icc ci --- .github/workflows/ubuntu-latest-icc2.yml | 46 ++++++++++++++++++++++++ .github/workflows/vs16.yml | 29 --------------- 2 files changed, 46 insertions(+), 29 deletions(-) create mode 100644 .github/workflows/ubuntu-latest-icc2.yml delete mode 100644 .github/workflows/vs16.yml diff --git a/.github/workflows/ubuntu-latest-icc2.yml b/.github/workflows/ubuntu-latest-icc2.yml new file mode 100644 index 0000000..be87a44 --- /dev/null +++ b/.github/workflows/ubuntu-latest-icc2.yml @@ -0,0 +1,46 @@ +name: ubuntu-latest-icc-ci2 + +on: + push: + branches: + - master + - feature/** + - improvement/** + - bugfix/** + + pull_request: + branches: + - master + - feature/** + - improvement/** + - bugfix/** + +jobs: + build_linux_cpp: + if: >- + ! contains(toJSON(github.event.commits.*.message), '[skip ci]') && + ! contains(toJSON(github.event.commits.*.message), '[skip github]') + + runs-on: ubuntu-20.04 + container: intel/oneapi-hpckit + steps: + + - uses: actions/checkout@v2 + - name: install_git + run: apt update && apt install -y git + + - name: CMake + run: echo "/host_usr_local/bin" >> $GITHUB_PATH + + - name: Install dependencies + run: script/ci_install_deps.sh + + - name: Configure + run: cmake -S test -B build -D CMAKE_BUILD_TYPE=Debug + + - name: Build + run: cmake --build build -j ${{ steps.cores.outputs.count }} + + - name: Run + working-directory: build + run: ctest --output-on-failure -j ${{ steps.cores.outputs.count }} diff --git a/.github/workflows/vs16.yml b/.github/workflows/vs16.yml deleted file mode 100644 index c3ccc47..0000000 --- a/.github/workflows/vs16.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: Build & Test - MSVC - -on: [push, pull_request] - -jobs: - build-windows: - runs-on: windows-latest - defaults: - run: - shell: bash - - steps: - - name: checkout - uses: actions/checkout@v2 - with: - cmake-version: '3.19.x' - - - name: Install dependencies - run: script/ci_install_deps.sh - - - name: Configure - run: cmake -S test -B build -D CMAKE_BUILD_TYPE=Debug - - - name: Build - run: cmake --build build -j ${{ steps.cores.outputs.count }} - - - name: Run - working-directory: build - run: ctest --output-on-failure -j ${{ steps.cores.outputs.count }}