diff options
| -rw-r--r-- | .github/workflows/ccpp.yml | 15 | ||||
| -rw-r--r-- | .github/workflows/macos.yml | 17 |
2 files changed, 17 insertions, 15 deletions
diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml deleted file mode 100644 index 8a1c1de..0000000 --- a/.github/workflows/ccpp.yml +++ /dev/null | |||
| @@ -1,15 +0,0 @@ | |||
| 1 | name: build-test | ||
| 2 | |||
| 3 | on: [push] | ||
| 4 | |||
| 5 | jobs: | ||
| 6 | test: | ||
| 7 | name: Build & Test | ||
| 8 | runs-on: ${{ matrix.os }} | ||
| 9 | strategy: | ||
| 10 | matrix: | ||
| 11 | os: [ubuntu-latest, macOS-latest] | ||
| 12 | steps: | ||
| 13 | - uses: actions/checkout@v1 | ||
| 14 | - name: build-test | ||
| 15 | run: make test | ||
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml new file mode 100644 index 0000000..c0dabf6 --- /dev/null +++ b/.github/workflows/macos.yml | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | name: macOS | ||
| 2 | |||
| 3 | on: | ||
| 4 | push: | ||
| 5 | branches: [ master ] | ||
| 6 | pull_request: | ||
| 7 | branches: [ master ] | ||
| 8 | workflow_dispatch: | ||
| 9 | |||
| 10 | jobs: | ||
| 11 | build: | ||
| 12 | name: Build & Test | ||
| 13 | runs-on: macos-latest | ||
| 14 | steps: | ||
| 15 | - uses: actions/checkout@v1 | ||
| 16 | - name: build-test | ||
| 17 | run: make test | ||
