Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
json
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
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
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
53 additions
and
64 deletions
+53
-64
.github/workflows/windows.yml
.github/workflows/windows.yml
+53
-2
.github/workflows/windows_clang.yml
.github/workflows/windows_clang.yml
+0
-32
.github/workflows/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
...
@@ -3,8 +3,7 @@ name: Windows
on
:
[
push
,
pull_request
]
on
:
[
push
,
pull_request
]
jobs
:
jobs
:
build
:
msvc2019
:
runs-on
:
windows-latest
runs-on
:
windows-latest
steps
:
steps
:
...
@@ -15,3 +14,55 @@ jobs:
...
@@ -15,3 +14,55 @@ jobs:
run
:
cmake --build build --parallel
10
run
:
cmake --build build --parallel
10
-
name
:
test
-
name
:
test
run
:
cd build ; ctest -j 10 -C Debug --exclude-regex "test-unicode" --output-on-failure
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