From 6a0aa493a001df88c31dc41d3bd03b9433347235 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Thu, 21 Nov 2019 00:08:12 -0500 Subject: GitHub Actions * Add MSVC support * Update README.md to reflect changes * Implement ci.yml * Add missing argument to usage statement --- .github/workflows/ci.yml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/workflows/ci.yml (limited to '.github/workflows') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..be6a633 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,38 @@ +name: ci + +#on: [push, pull_request] +on: [push] + +jobs: + unix: + name: "${{ matrix.os }}" + runs-on: "${{ matrix.os }}" + strategy: + matrix: + os: [ubuntu-latest, macOS-latest] + + steps: + - uses: actions/checkout@v1 + - name: configure + run: cmake . + - name: make + run: make + - name: test + run: ctest -V + - name: install + run: sudo make install + + windows: + name: "${{ matrix.os }}" + runs-on: "${{ matrix.os }}" + strategy: + matrix: + os: [windows-latest] + steps: + - uses: actions/checkout@v1 + - name: configure + run: cmake . + - name: make + run: cmake --build . + - name: test + run: ctest -V -- cgit