Skip to content

Commit

Permalink
Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesdbrock committed Apr 28, 2023
1 parent 06a1d4e commit 82aa9bb
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 37 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: hffix test

# Controls when the action will run. Triggers the workflow on push
on:
push:
# pull_request:
# release:
# tags:
# - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10

jobs:
test:
runs-on:
- ubuntu-latest
strategy:
fail-fast: false
matrix:
compiler:
- cxx: "g++"
- cxx: "clang++"
flags:
- cxxflags: "-std=c++98"
- cxxflags: "-std=c++11"
- cxxflags: "-std=c++17"
- cxxflags: "-std=c++20"
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Boost
uses: MarkusJx/[email protected]
id: install-boost
with:
boost_version: 1.81.0
- name: Test
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
shell: bash
env:
CPLUS_INCLUDE_PATH: ${{steps.install-boost.outputs.BOOST_ROOT}}/include
LIBRARY_PATH: ${{steps.install-boost.outputs.BOOST_ROOT}}/lib
CXX: ${{matrix.compiler.cxx}}
CXXFLAGS: ${{matrix.flags.cxxflags}}
run: |
$CXX --version
make test
29 changes: 0 additions & 29 deletions .travis.yml

This file was deleted.

11 changes: 3 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
High Frequency FIX — C++ Library for Financial Information Exchange Protocol {#mainpage}
==========================================================================

[![Build Status](https://api.travis-ci.org/jamesdbrock/hffix.svg?branch=master)](https://travis-ci.org/jamesdbrock/hffix)

## Introduction

The High Frequency FIX Parser library is an open source implementation of
Expand Down Expand Up @@ -71,13 +69,10 @@ All of the Financial Information Exchange (FIX) protocol specification versions

### Platforms

The library is platform-independent C++98, and is tested on Linux with *gcc* and *clang*
for all versions of C++ on my local machine, and on the [Travis CI service](https://travis-ci.org/jamesdbrock/hffix).


The library is platform-independent C++98, and is tested on Linux
with *gcc* and *clang* on
[Github Actions](https://github.com/jamesdbrock/hffix/actions/workflows/ci.yml).

The `fixspec/spec-parse-fields` program for re-generating the `hffix_fields.hpp`
file requires [The Haskell Tool Stack](https://haskellstack.org).

### License

Expand Down

0 comments on commit 82aa9bb

Please sign in to comment.