FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
cppgraphqlgen/.github/workflows/linux.yml at main · wravery/cppgraphqlgen · GitHub
wravery
/
cppgraphqlgen
Public
forked from
microsoft/cppgraphqlgen
Notifications
You must be signed in to change notification settings
Fork
0
Star
2
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
cppgraphqlgen
/
.github
/
workflows
/
linux.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
52 lines (41 loc) · 1.17 KB
Breadcrumbs
cppgraphqlgen
/
.github
/
workflows
/
linux.yml
Copy path
File metadata and controls
52 lines (41 loc) · 1.17 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name
:
Linux
on
:
[push, pull_request]
jobs
:
gcc10
:
strategy
:
fail-fast
:
false
matrix
:
config
:
[Debug, Release]
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v4.1.3
with
:
submodules
:
true
-
name
:
Install Dependencies
run
:
|
sudo apt-get update
sudo apt-get install -yq libgtest-dev libboost-program-options-dev rapidjson-dev ninja-build gcc-10 g++-10
-
name
:
Build GTest
run
:
|
cmake -E make_directory gtest
cd gtest
cmake -DCMAKE_BUILD_TYPE=${{ matrix.config }} -G Ninja /usr/src/gtest
cmake --build . -j -v
sudo cmake --install .
-
name
:
Create Build Environment
run
:
cmake -E make_directory build
-
name
:
Configure CMake
shell
:
pwsh
env
:
CC
:
gcc-10
CXX
:
g++-10
working-directory
:
build/
run
:
|
$cmakeBuildType = '${{ matrix.config }}'
cmake "-DCMAKE_BUILD_TYPE=$cmakeBuildType" -G Ninja ${{ github.workspace }}
-
name
:
Build
working-directory
:
build/
run
:
cmake --build . -j -v
-
name
:
Test
working-directory
:
build/
run
:
ctest --output-on-failure
Back
|
FazBrowse Home
|
New Git URL