Skip to content

Commit

Permalink
feat(ci): add pull request ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Bambooin committed Jan 15, 2022
1 parent 200e3ec commit 94bb5d5
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions .github/workflows/pull-request-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: pull request ci
on: [pull_request]
jobs:
linux:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
compiler: [g++, clang]
steps:
- name: Checkout last commit
uses: actions/checkout@v2
with:
fetch-depth: 0
submodules: "recursive"

- name: Install dependency
run: ./action-install-linux.sh

- name: Unit test
run: make test
macos:
runs-on: macos-latest
steps:
- name: Checkout last commit
uses: actions/checkout@v2
with:
fetch-depth: 0
submodules: "recursive"

- name: Install dependency
run: ./action-install-macos.sh

- name: Unit test
run: make xcode/test
windows:
runs-on: windows-latest
steps:
- name: Checkout last commit
uses: actions/checkout@v2
with:
fetch-depth: 0
submodules: "recursive"

- name: Install dependency
run: .\action-install-windows.bat

- name: Unit test
run: .\build.bat test

0 comments on commit 94bb5d5

Please sign in to comment.