Skip to content

Commit c992003

Browse files
committed
split CI tests into separate files for readme badges
1 parent a6b8d29 commit c992003

File tree

3 files changed

+63
-0
lines changed

3 files changed

+63
-0
lines changed

.github/workflows/linux.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Linux CI
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
Build:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
fail-fast: false
10+
11+
steps:
12+
- name: Checkout code
13+
uses: actions/checkout@v2
14+
15+
- name: Build
16+
run: bash ci/compile_test.sh
17+
18+
- name: Test
19+
run: bash ci/tests.sh

.github/workflows/macos.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: MacOS CI
2+
3+
on: [push, pull_request]
4+
5+
env:
6+
HOMEBREW_NO_ANALYTICS: "ON" # Make Homebrew installation a little quicker
7+
HOMEBREW_NO_AUTO_UPDATE: "ON"
8+
HOMEBREW_NO_BOTTLE_SOURCE_FALLBACK: "ON"
9+
HOMEBREW_NO_GITHUB_API: "ON"
10+
HOMEBREW_NO_INSTALL_CLEANUP: "ON"
11+
12+
jobs:
13+
Build:
14+
runs-on: macos-latest
15+
strategy:
16+
fail-fast: false
17+
18+
steps:
19+
- name: Checkout code
20+
uses: actions/checkout@v2
21+
22+
- name: Build
23+
run: bash ci/compile_test.sh
24+
25+
- name: Test
26+
run: bash ci/tests.sh

.github/workflows/windows.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Windows CI
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
Build:
7+
runs-on: windows-latest
8+
strategy:
9+
fail-fast: false
10+
11+
steps:
12+
- name: Checkout code
13+
uses: actions/checkout@v2
14+
15+
- name: Build and test
16+
run: |
17+
ci\compile_test.bat
18+
examples\Release\colors.exe

0 commit comments

Comments
 (0)