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:
19
.github/workflows/macos.yml
vendored
Normal file
19
.github/workflows/macos.yml
vendored
Normal 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
|
@@ -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
19
.github/workflows/windows.yml
vendored
Normal 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
|
Reference in New Issue
Block a user