Skip to content

Commit

Permalink
feat(ci): add GitHub action ci support
Browse files Browse the repository at this point in the history
  • Loading branch information
Bambooin committed Jan 15, 2022
1 parent a3fdad8 commit 56e9d2a
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 6 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/commit-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: commit ci
on: [push]
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
File renamed without changes.
10 changes: 10 additions & 0 deletions action-install-macos.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash

# install and build boost
make xcode/thirdparty/boost

export BOOST_ROOT="$(pwd)/thirdparty/src/boost_1_75_0"

make xcode/thirdparty

make xcode
6 changes: 0 additions & 6 deletions travis-install-osx.sh

This file was deleted.

0 comments on commit 56e9d2a

Please sign in to comment.