OSDN Git Service
(root)
/
hengbandforosx
/
hengbandosx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b28b903
)
[Feature] clangでのビルドテストではプリコンパイルヘッダを使用しない
author
Habu
<habu1010+github@gmail.com>
Sat, 1 May 2021 16:25:18 +0000
(
01:25
+0900)
committer
Habu
<habu1010+github@gmail.com>
Sat, 1 May 2021 16:28:20 +0000
(
01:28
+0900)
普段プリコンパイルヘッダを使用していることで、必要ヘッダのインクルード
忘れによりプリコンパイルヘッダ未使用時にコンパイルエラーが発生するように
なっていることがたまにあるので、clangでのビルドテストではプリコンパイル
ヘッダを使用しないようにする。
.github/workflows/buildtest-on-linux.yml
patch
|
blob
|
history
diff --git
a/.github/workflows/buildtest-on-linux.yml
b/.github/workflows/buildtest-on-linux.yml
index
d8b671d
..
ab99562
100644
(file)
--- a/
.github/workflows/buildtest-on-linux.yml
+++ b/
.github/workflows/buildtest-on-linux.yml
@@
-47,8
+47,8
@@
jobs:
- name: Clean source tree
run: make clean
- - name: Configure for compiling with clang
- run: ./configure
+ - name: Configure for compiling with clang
(without using pre-compiled headers)
+ run: ./configure
--disable-pch
env:
CXX: clang++-11
CXXFLAGS: "-pipe -O3 -Werror -Wall -Wextra -Wno-unused-const-variable -Wno-invalid-source-encoding"