mirror of
https://github.com/red0124/ssp.git
synced 2026-02-03 16:09:55 +01:00
Compare commits
9 Commits
544ecddf1a
...
dev
| Author | SHA1 | Date | |
|---|---|---|---|
| 99725f48b7 | |||
| c097732352 | |||
| 8b1cf56549 | |||
| 50de5b3a5a | |||
|
|
f4bca3915f | ||
| 809939d0e2 | |||
| b9f4afdd5f | |||
|
|
69875c238e | ||
|
|
457defadaa |
77
.github/workflows/ubuntu-latest-icc.yml
vendored
Normal file
77
.github/workflows/ubuntu-latest-icc.yml
vendored
Normal file
@@ -0,0 +1,77 @@
|
|||||||
|
name: ubuntu-latest-icc-ci
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
- feature/**
|
||||||
|
- improvement/**
|
||||||
|
- bugfix/**
|
||||||
|
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
- feature/**
|
||||||
|
- improvement/**
|
||||||
|
- bugfix/**
|
||||||
|
|
||||||
|
env:
|
||||||
|
LINUX_BASEKIT_URL: https://registrationcenter-download.intel.com/akdlm/irc_nas/17431/l_BaseKit_p_2021.1.0.2659_offline.sh
|
||||||
|
LINUX_HPCKIT_URL:
|
||||||
|
https://registrationcenter-download.intel.com/akdlm/irc_nas/17427/l_HPCKit_p_2021.1.0.2684_offline.sh
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
icc_tests:
|
||||||
|
if: >-
|
||||||
|
! contains(toJSON(github.event.commits.*.message), '[skip ci]') &&
|
||||||
|
! contains(toJSON(github.event.commits.*.message), '[skip github]')
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: bash
|
||||||
|
|
||||||
|
container:
|
||||||
|
image: gcc:10
|
||||||
|
options: -v /usr/local:/host_usr_local
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: cache install
|
||||||
|
id: cache-install
|
||||||
|
uses: actions/cache@v2
|
||||||
|
with:
|
||||||
|
path: |
|
||||||
|
/opt/intel/oneapi/compiler
|
||||||
|
key: >-
|
||||||
|
install-${{env.LINUX_HPCKIT_URL}}-
|
||||||
|
${{env.LINUX_CPP_COMPONENTS_WEB}}-
|
||||||
|
compiler-${{hashFiles('**/scripts/cache_exclude_linux.sh')}}
|
||||||
|
|
||||||
|
- name: Install icc
|
||||||
|
run: >-
|
||||||
|
script/ci_install_icc.sh $LINUX_HPCKIT_URL $LINUX_CPP_COMPONENTS_WEB
|
||||||
|
|
||||||
|
- name: CMake
|
||||||
|
run: echo "/host_usr_local/bin" >> $GITHUB_PATH
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: script/ci_install_deps.sh
|
||||||
|
|
||||||
|
- name: Configure
|
||||||
|
run: >-
|
||||||
|
source script/ci_setup_icc.sh &&
|
||||||
|
cmake -S test -B build -D CMAKE_BUILD_TYPE=Debug
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
run: >-
|
||||||
|
source script/ci_setup_icc.sh &&
|
||||||
|
cmake --build build -j ${{steps.cores.outputs.count}}
|
||||||
|
|
||||||
|
- name: Run
|
||||||
|
working-directory: build
|
||||||
|
run: ctest --output-on-failure
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
cmake_minimum_required(VERSION 3.15)
|
cmake_minimum_required(VERSION 3.14)
|
||||||
|
|
||||||
project(
|
project(
|
||||||
ssp
|
ssp
|
||||||
VERSION 1.8.0
|
VERSION 1.7.2
|
||||||
DESCRIPTION "csv parser"
|
DESCRIPTION "csv parser"
|
||||||
HOMEPAGE_URL "https://github.com/red0124/ssp"
|
HOMEPAGE_URL "https://github.com/red0124/ssp"
|
||||||
LANGUAGES CXX
|
LANGUAGES CXX
|
||||||
|
|||||||
17
README.md
17
README.md
@@ -9,14 +9,15 @@
|
|||||||
|
|
||||||
[](https://opensource.org/licenses/MIT)
|
[](https://opensource.org/licenses/MIT)
|
||||||
[](https://coveralls.io/github/red0124/ssp?branch=master)
|
[](https://coveralls.io/github/red0124/ssp?branch=master)
|
||||||
[](https://github.com/red0124/ssp/actions/workflows/fuzz.yml)
|
[](https://github.com/red0124/ssp/actions/workflows/fuzz.yml)
|
||||||
[](https://github.com/red0124/ssp/actions/workflows/single-header.yml)
|
[](https://github.com/red0124/ssp/actions/workflows/single-header.yml)
|
||||||
[](https://github.com/red0124/ssp/actions/workflows/ubuntu-latest-gcc.yml)
|
[](https://github.com/red0124/ssp/actions/workflows/ubuntu-latest-gcc.yml)
|
||||||
[](https://github.com/red0124/ssp/actions/workflows/ubuntu-latest-clang.yml)
|
[](https://github.com/red0124/ssp/actions/workflows/ubuntu-latest-clang.yml)
|
||||||
[](https://github.com/red0124/ssp/actions/workflows/win-msys2-gcc.yml)
|
[](https://github.com/red0124/ssp/actions/workflows/ubuntu-latest-icc.yml)
|
||||||
[](https://github.com/red0124/ssp/actions/workflows/win-msys2-clang.yml)
|
[](https://github.com/red0124/ssp/actions/workflows/win-msys2-gcc.yml)
|
||||||
[](https://github.com/red0124/ssp/actions/workflows/win-msvc.yml)
|
[](https://github.com/red0124/ssp/actions/workflows/win-msys2-clang.yml)
|
||||||
[](https://github.com/red0124/ssp/actions/workflows/macos-apple-clang.yml)
|
[](https://github.com/red0124/ssp/actions/workflows/win-msvc.yml)
|
||||||
|
[](https://github.com/red0124/ssp/actions/workflows/macos-apple-clang.yml)
|
||||||
|
|
||||||
A header only CSV parser which is fast and versatile with modern C++ API. Requires compiler with C++17 support. [Can also be used to efficiently convert strings to specific types.](#the-converter)
|
A header only CSV parser which is fast and versatile with modern C++ API. Requires compiler with C++17 support. [Can also be used to efficiently convert strings to specific types.](#the-converter)
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ project(
|
|||||||
'cpp_std=c++17',
|
'cpp_std=c++17',
|
||||||
'buildtype=debugoptimized',
|
'buildtype=debugoptimized',
|
||||||
'wrap_mode=forcefallback'],
|
'wrap_mode=forcefallback'],
|
||||||
version: '1.8.0',
|
version: '1.7.2',
|
||||||
meson_version:'>=0.54.0')
|
meson_version:'>=0.54.0')
|
||||||
|
|
||||||
fast_float_dep = dependency('fast_float')
|
fast_float_dep = dependency('fast_float')
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
cmake_minimum_required(VERSION 3.15)
|
cmake_minimum_required(VERSION 3.14)
|
||||||
|
|
||||||
project(ssp_tests CXX)
|
project(ssp_tests CXX)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user