Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
json
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
json
Commits
2cd10a74
Unverified
Commit
2cd10a74
authored
Jul 22, 2020
by
Niels Lohmann
Committed by
GitHub
Jul 22, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2300 from nlohmann/gihub_actions
Merge Gitlab actions
parents
83448577
6bd38a2c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
53 additions
and
64 deletions
+53
-64
windows.yml
.github/workflows/windows.yml
+53
-2
windows_clang.yml
.github/workflows/windows_clang.yml
+0
-32
windows_clang_cl.yml
.github/workflows/windows_clang_cl.yml
+0
-30
No files found.
.github/workflows/windows.yml
View file @
2cd10a74
...
...
@@ -3,8 +3,7 @@ name: Windows
on
:
[
push
,
pull_request
]
jobs
:
build
:
msvc2019
:
runs-on
:
windows-latest
steps
:
...
...
@@ -15,3 +14,55 @@ jobs:
run
:
cmake --build build --parallel 10
-
name
:
test
run
:
cd build ; ctest -j 10 -C Debug --exclude-regex "test-unicode" --output-on-failure
clang9
:
runs-on
:
windows-latest
steps
:
-
uses
:
actions/checkout@v1
-
name
:
install Clang
run
:
curl -fsSL -o LLVM9.exe https://releases.llvm.org/9.0.0/LLVM-9.0.0-win64.exe ; 7z x LLVM9.exe -y -o"C:/Program Files/LLVM"
-
name
:
cmake
run
:
cmake -S . -B build -DCMAKE_CXX_COMPILER="C:/Program Files/LLVM/bin/clang++.exe" -G"MinGW Makefiles" -DCMAKE_BUILD_TYPE=Debug -DJSON_BuildTests=On
-
name
:
build
run
:
cmake --build build --parallel 10
-
name
:
test
run
:
cd build ; ctest -j 10 -C Debug --exclude-regex "test-unicode" --output-on-failure
clang10
:
runs-on
:
windows-latest
steps
:
-
uses
:
actions/checkout@v1
-
name
:
install Clang
run
:
curl -fsSL -o LLVM10.exe https://github.com/llvm/llvm-project/releases/download/llvmorg-10.0.0/LLVM-10.0.0-win64.exe ; 7z x LLVM10.exe -y -o"C:/Program Files/LLVM"
-
name
:
cmake
run
:
cmake -S . -B build -DCMAKE_CXX_COMPILER="C:/Program Files/LLVM/bin/clang++.exe" -G"MinGW Makefiles" -DCMAKE_BUILD_TYPE=Debug -DJSON_BuildTests=On
-
name
:
build
run
:
cmake --build build --parallel 10
-
name
:
test
run
:
cd build ; ctest -j 10 -C Debug --exclude-regex "test-unicode" --output-on-failure
clang-cl-10-x64
:
runs-on
:
windows-latest
steps
:
-
uses
:
actions/checkout@v1
-
name
:
cmake
run
:
cmake -S . -B build -G "Visual Studio 16 2019" -A x64 -T ClangCL -DJSON_BuildTests=On
-
name
:
build
run
:
cmake --build build --config Debug --parallel 10
-
name
:
test
run
:
cd build ; ctest -j 10 -C Debug --exclude-regex "test-unicode" --output-on-failure
clang-cl-10-x86
:
runs-on
:
windows-latest
steps
:
-
uses
:
actions/checkout@v1
-
name
:
cmake
run
:
cmake -S . -B build -G "Visual Studio 16 2019" -A Win32 -T ClangCL -DJSON_BuildTests=On
-
name
:
build
run
:
cmake --build build --config Debug --parallel 10
-
name
:
test
run
:
cd build ; ctest -j 10 -C Debug --exclude-regex "test-unicode" --output-on-failure
.github/workflows/windows_clang.yml
deleted
100644 → 0
View file @
83448577
name
:
Windows
on
:
[
push
,
pull_request
]
jobs
:
clang9
:
runs-on
:
windows-latest
steps
:
-
uses
:
actions/checkout@v1
-
name
:
install Clang
run
:
curl -fsSL -o LLVM9.exe https://releases.llvm.org/9.0.0/LLVM-9.0.0-win64.exe ; 7z x LLVM9.exe -y -o"C:/Program Files/LLVM"
-
name
:
cmake
run
:
cmake -S . -B build -DCMAKE_CXX_COMPILER="C:/Program Files/LLVM/bin/clang++.exe" -G"MinGW Makefiles" -DCMAKE_BUILD_TYPE=Debug -DJSON_BuildTests=On
-
name
:
build
run
:
cmake --build build --parallel 10
-
name
:
test
run
:
cd build ; ctest -j 10 -C Debug --exclude-regex "test-unicode" --output-on-failure
clang10
:
runs-on
:
windows-latest
steps
:
-
uses
:
actions/checkout@v1
-
name
:
install Clang
run
:
curl -fsSL -o LLVM10.exe https://github.com/llvm/llvm-project/releases/download/llvmorg-10.0.0/LLVM-10.0.0-win64.exe ; 7z x LLVM10.exe -y -o"C:/Program Files/LLVM"
-
name
:
cmake
run
:
cmake -S . -B build -DCMAKE_CXX_COMPILER="C:/Program Files/LLVM/bin/clang++.exe" -G"MinGW Makefiles" -DCMAKE_BUILD_TYPE=Debug -DJSON_BuildTests=On
-
name
:
build
run
:
cmake --build build --parallel 10
-
name
:
test
run
:
cd build ; ctest -j 10 -C Debug --exclude-regex "test-unicode" --output-on-failure
.github/workflows/windows_clang_cl.yml
deleted
100644 → 0
View file @
83448577
name
:
Windows
on
:
[
push
,
pull_request
]
jobs
:
clang-cl-10-x64
:
runs-on
:
windows-latest
steps
:
-
uses
:
actions/checkout@v1
-
name
:
cmake
run
:
cmake -S . -B build -G "Visual Studio 16 2019" -A x64 -T ClangCL -DJSON_BuildTests=On
-
name
:
build
run
:
cmake --build build --config Debug --parallel 10
-
name
:
test
run
:
cd build ; ctest -j 10 -C Debug --exclude-regex "test-unicode" --output-on-failure
clang-cl-10-x86
:
runs-on
:
windows-latest
steps
:
-
uses
:
actions/checkout@v1
-
name
:
cmake
run
:
cmake -S . -B build -G "Visual Studio 16 2019" -A Win32 -T ClangCL -DJSON_BuildTests=On
-
name
:
build
run
:
cmake --build build --config Debug --parallel 10
-
name
:
test
run
:
cd build ; ctest -j 10 -C Debug --exclude-regex "test-unicode" --output-on-failure
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment