Skip to content

Commit

Permalink
move to github CI
Browse files Browse the repository at this point in the history
  • Loading branch information
nmwsharp committed Feb 7, 2024
1 parent c0287ef commit d682a3e
Show file tree
Hide file tree
Showing 4 changed files with 78 additions and 42 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: linux

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
strategy:
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
if: "! contains(toJSON(github.event.commits.*.message), '[ci skip]')"
steps:
- uses: actions/checkout@v1
with:
submodules: true

- name: configure
run: cd test && mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Debug ..

- name: build
run: cd test/build && make

- name: run test
run: cd test/build && ./bin/ply-test
25 changes: 25 additions & 0 deletions .github/workflows/macOS.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: macOS

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
runs-on: macos-latest
if: "! contains(toJSON(github.event.commits.*.message), '[ci skip]')"
steps:
- uses: actions/checkout@v1
with:
submodules: true

- name: configure
run: cd test && mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Debug ..

- name: build
run: cd test/build && make

- name: run test
run: cd test/build && ./bin/ply-test
25 changes: 25 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: windows

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
runs-on: windows-latest
if: "! contains(toJSON(github.event.commits.*.message), '[ci skip]')"
steps:
- uses: actions/checkout@v1
with:
submodules: true

- name: configure
run: cd test && mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Debug ..

- name: build
run: cd test/build && cmake --build "."

- name: run test
run: cd test/build && ./bin/Debug/ply-test.exe
42 changes: 0 additions & 42 deletions .travis.yml

This file was deleted.

0 comments on commit d682a3e

Please sign in to comment.