1
0
mirror of https://github.com/nlohmann/json.git synced 2025-08-09 05:22:48 +03:00

👷 add more GitHub actions workflows

This commit is contained in:
Niels Lohmann
2020-05-12 20:26:17 +02:00
parent b1c1eb145e
commit cd76f59af6
3 changed files with 40 additions and 2 deletions

19
.github/workflows/macos.yml vendored Normal file
View File

@@ -0,0 +1,19 @@
name: Windows
on: [push]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- name: prepare
run: mkdir build
- name: cmake
run: cd build ; cmake ..
- name: build
run: make -C build
- name: test
run: cd build ; ctest -j 10

View File

@@ -1,4 +1,4 @@
name: C/C++ CI
name: Ubuntu
on: [push]
@@ -6,7 +6,7 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: prepare

19
.github/workflows/windows.yml vendored Normal file
View File

@@ -0,0 +1,19 @@
name: macOS
on: [push]
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v1
- name: prepare
run: mkdir build
- name: cmake
run: cd build ; cmake ..
- name: build
run: make -C build
- name: test
run: cd build ; ctest -j 10