Skip to content

Commit c1fae22

Browse files
committed
force only one build type for windows ci
1 parent 22270db commit c1fae22

2 files changed

Lines changed: 2 additions & 10 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,6 @@ jobs:
4747
run: |
4848
echo "build_version=$(git describe --always --tags "refs/remotes/origin/${HEAD_REF}")" >> $GITHUB_OUTPUT
4949
echo "build_config=RelWithDebInfo" >> $GITHUB_OUTPUT
50-
echo "build_ubuntu_version=18.04" >> $GITHUB_OUTPUT
51-
echo "build_shared=0" >> $GITHUB_OUTPUT
52-
echo "build_server=1" >> $GITHUB_OUTPUT
53-
echo "build_tools=0" >> $GITHUB_OUTPUT
5450
5551
- name: Setup Python
5652
uses: actions/setup-python@v2
@@ -69,7 +65,7 @@ jobs:
6965
$env:OMP_BUILD_COMMIT=$(git rev-parse HEAD)
7066
mkdir build
7167
cd build
72-
cmake .. -A Win32 -T "ClangCL"
68+
cmake -DCMAKE_BUILD_TYPE=${{ steps.vars.outputs.build_config }} .. -A Win32 -T "ClangCL"
7369
7470
- name: Build
7571
run: |

.github/workflows/release.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,6 @@ jobs:
2727
run: |
2828
echo "build_version=$(git describe --always --tags "refs/remotes/origin/${HEAD_REF}")" >> $GITHUB_OUTPUT
2929
echo "build_config=RelWithDebInfo" >> $GITHUB_OUTPUT
30-
echo "build_ubuntu_version=18.04" >> $GITHUB_OUTPUT
31-
echo "build_shared=0" >> $GITHUB_OUTPUT
32-
echo "build_server=1" >> $GITHUB_OUTPUT
33-
echo "build_tools=0" >> $GITHUB_OUTPUT
3430
3531
- name: Setup Python
3632
uses: actions/setup-python@v2
@@ -49,7 +45,7 @@ jobs:
4945
$env:OMP_BUILD_COMMIT=$(git rev-parse HEAD)
5046
mkdir build
5147
cd build
52-
cmake .. -A Win32 -T "ClangCL"
48+
cmake -DCMAKE_BUILD_TYPE=${{ steps.vars.outputs.build_config }} .. -A Win32 -T "ClangCL"
5349
5450
- name: Build
5551
run: |

0 commit comments

Comments
 (0)