Skip to content

Commit d9f7d52

Browse files
committed
add single test for building libumf.so to gha
1 parent cfcb318 commit d9f7d52

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.github/workflows/basic.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,18 @@ jobs:
1212
build_type: [Debug, Release]
1313
compiler: [{c: gcc, cxx: g++}]
1414
pool_tracking: ['ON', 'OFF']
15+
shared_library: ['OFF']
1516
include:
1617
- os: 'ubuntu-20.04'
1718
build_type: Release
1819
compiler: {c: gcc-7, cxx: g++-7}
1920
- os: 'ubuntu-22.04'
2021
build_type: Release
21-
compiler: {c: clang, cxx: clang++}
22+
compiler: {c: clang, cxx: clang++}
23+
- os: 'ubuntu-22.04'
24+
build_type: Release
25+
compiler: {c: gcc, cxx: g++}
26+
shared_library: 'ON'
2227
runs-on: ${{matrix.os}}
2328

2429
steps:
@@ -40,6 +45,7 @@ jobs:
4045
cmake
4146
-B ${{github.workspace}}/build
4247
-DCMAKE_BUILD_TYPE=${{matrix.build_type}}
48+
-DUMF_BUILD_SHARED_LIBRARY=${{matrix.shared_library}}
4349
-DCMAKE_C_COMPILER=${{matrix.compiler.c}}
4450
-DCMAKE_CXX_COMPILER=${{matrix.compiler.cxx}}
4551
-DUMF_ENABLE_POOL_TRACKING=${{matrix.pool_tracking}}
@@ -64,12 +70,18 @@ jobs:
6470
build_type: [Debug, Release]
6571
compiler: [{c: cl, cxx: cl}]
6672
pool_tracking: ['ON', 'OFF']
73+
shared_library: ['OFF']
6774
include:
6875
- os: 'windows-2022'
6976
build_type: Release
7077
compiler: {c: clang-cl, cxx: clang-cl}
7178
pool_tracking: 'ON'
7279
toolset: "-T ClangCL"
80+
- os: 'windows-2022'
81+
build_type: Release
82+
compiler: {c: cl, cxx: cl}
83+
pool_tracking: 'ON'
84+
shared_library: 'ON'
7385
runs-on: ${{matrix.os}}
7486

7587
steps:
@@ -82,6 +94,7 @@ jobs:
8294
${{matrix.toolset}}
8395
-DCMAKE_C_COMPILER=${{matrix.compiler.c}}
8496
-DCMAKE_CXX_COMPILER=${{matrix.compiler.cxx}}
97+
-DUMF_BUILD_SHARED_LIBRARY=${{matrix.shared_library}}
8598
-DUMF_ENABLE_POOL_TRACKING=${{matrix.pool_tracking}}
8699
-DUMF_FORMAT_CODE_STYLE=OFF
87100
-DUMF_DEVELOPER_MODE=ON

0 commit comments

Comments
 (0)