diff options
| author | Joseph Hunkeler <jhunkeler@users.noreply.github.com> | 2019-11-21 01:05:50 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-11-21 01:05:50 -0500 |
| commit | 0c2b6efeb29f184a42286bb9adeda0f1988c45e1 (patch) | |
| tree | 54ebb52effff630eb528582349880e7e8a8d9896 /.github/workflows | |
| parent | 6aac41d2f220424591f306b15d0a47a7a11e88c2 (diff) | |
| parent | 6a0aa493a001df88c31dc41d3bd03b9433347235 (diff) | |
| download | reloc-0c2b6efeb29f184a42286bb9adeda0f1988c45e1.tar.gz | |
Merge pull request #1 from jhunkeler/jhunkeler-patch-1
Implement GitHub Actions
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/ci.yml | 38 |
1 files changed, 38 insertions, 0 deletions
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 |
