Skip to content

Commit 1ceb9d8

Browse files
committed
fix workflows
1 parent 57c03e1 commit 1ceb9d8

File tree

3 files changed

+15
-28
lines changed

3 files changed

+15
-28
lines changed

.github/workflows/linux-build.yml

Lines changed: 13 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -20,22 +20,18 @@ jobs:
2020
fail-fast: false
2121
max-parallel: 8
2222
matrix:
23-
compiler: [gcc-8, gcc-6, gcc-7, gcc-5, gcc-9]
23+
compiler: [g++-9, g++10, g++11]
2424
base-flags: ["", -DJINJA2CPP_CXX_STANDARD=17]
2525
build-config: [Release, Debug]
2626
build-shared: [TRUE, FALSE]
2727

2828
include:
29-
- compiler: gcc-8
29+
- compiler: g++-9
3030
extra-flags: -DJINJA2CPP_STRICT_WARNINGS=OFF
31-
- compiler: gcc-9
31+
- compiler: g++-10
32+
extra-flags: -DJINJA2CPP_STRICT_WARNINGS=OFF
33+
- compiler: g++-11
3234
extra-flags: -DJINJA2CPP_STRICT_WARNINGS=OFF
33-
34-
exclude:
35-
- compiler: gcc-5
36-
base-flags: -DJINJA2CPP_CXX_STANDARD=17
37-
- compiler: gcc-6
38-
base-flags: -DJINJA2CPP_CXX_STANDARD=17
3935

4036
steps:
4137
- uses: actions/checkout@v1
@@ -100,26 +96,19 @@ jobs:
10096
fail-fast: false
10197
max-parallel: 8
10298
matrix:
103-
compiler: [5.0, 6.0, 7, 8]
99+
compiler: [10, 11, 12]
104100
base-flags: ["", -DJINJA2CPP_CXX_STANDARD=17]
105101
build-config: [Release, Debug]
106102
build-shared: [TRUE, FALSE]
107103

108104
include:
109-
- compiler: 5.0
110-
docker-image: conanio/clang50
111-
- compiler: 6.0
112-
docker-image: conanio/clang60
113-
- compiler: 7
114-
docker-image: conanio/clang7
115-
- compiler: 8
116-
docker-image: conanio/clang8
117-
- compiler: 9
118-
docker-image: conanio/clang9
119-
120-
exclude:
121-
- compiler: 5.0
122-
base-flags: -DJINJA2CPP_CXX_STANDARD=17
105+
- compiler: 10
106+
docker-image: conanio/clang10
107+
- compiler: 11
108+
docker-image: conanio/clang11
109+
- compiler: 12
110+
docker-image: conanio/clang12
111+
123112
steps:
124113
- uses: actions/checkout@v1
125114

.github/workflows/windows-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
call "%VC_VARS%"
6969
mkdir -p .build
7070
cd .build
71-
cmake .. -G "%INPUT_GENERATOR%" -DCMAKE_BUILD_TYPE=%INPUT_BUILD_CONFIG% -DJINJA2CPP_MSVC_RUNTIME_TYPE="%INPUT_BUILD_RUNTIME%" -DJINJA2CPP_DEPS_MODE=external-boost -DJINJA2CPP_BUILD_SHARED=%INPUT_BUILD_SHARED% %INPUT_BASE_FLAGS% %INPUT_EXTRA_FLAGS%
71+
cmake .. -G "%INPUT_GENERATOR%" -DCMAKE_BUILD_TYPE=%INPUT_BUILD_CONFIG% -DJINJA2CPP_MSVC_RUNTIME_TYPE="%INPUT_BUILD_RUNTIME%" -DJINJA2CPP_DEPS_MODE=internal -DJINJA2CPP_BUILD_SHARED=%INPUT_BUILD_SHARED% %INPUT_BASE_FLAGS% %INPUT_EXTRA_FLAGS%
7272
cmake --build . --config %INPUT_BUILD_CONFIG%
7373
7474
- name: Test

thirdparty/external_boost_deps.cmake

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ if(boost_filesystem_FOUND AND
3232
imported_target_alias(boost_algorithm ALIAS boost_algorithm::boost_algorithm)
3333
imported_target_alias(boost_variant ALIAS boost_variant::boost_variant)
3434
imported_target_alias(boost_optional ALIAS boost_optional::boost_optional)
35-
36-
3735
else()
3836
find_package(Boost COMPONENTS system filesystem ${FIND_BOOST_PACKAGE_QUIET} REQUIRED)
3937

@@ -51,4 +49,4 @@ install(TARGETS boost_filesystem boost_algorithm boost_variant boost_optional
5149
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
5250
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}/static
5351
PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/boost
54-
)
52+
)

0 commit comments

Comments
 (0)