mirror of
https://github.com/red0124/ssp.git
synced 2025-02-02 16:51:12 +01:00
try new ubuntu icc ci
This commit is contained in:
parent
0197fa2f0a
commit
8b75ad7624
46
.github/workflows/ubuntu-latest-icc2.yml
vendored
Normal file
46
.github/workflows/ubuntu-latest-icc2.yml
vendored
Normal file
@ -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 }}
|
29
.github/workflows/vs16.yml
vendored
29
.github/workflows/vs16.yml
vendored
@ -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 }}
|
|
Loading…
Reference in New Issue
Block a user