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:
6521afd
)
[update] #1 ビルドテストを並列実行する
author
Habu
<habu1010+github@gmail.com>
Thu, 11 Feb 2021 03:55:53 +0000
(12:55 +0900)
committer
Habu
<habu1010+github@gmail.com>
Thu, 11 Feb 2021 03:55:53 +0000
(12:55 +0900)
GitHubホストランナーはマルチコアCPUなので、ビルドテストを
並列ビルドに対応させる。
nprocコマンドでCPUスレッド数が取得できるので、makeコマンドの
-jオプションにnprocコマンドの結果を与えるようにする。
.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
bc9af7c
..
7695fe9
100644
(file)
--- a/
.github/workflows/buildtest-on-linux.yml
+++ b/
.github/workflows/buildtest-on-linux.yml
@@
-31,7
+31,7
@@
jobs:
run: ./configure
- name: Build Japanese version
- run: make
+ run: make
-j$(nproc)
- name: Clean source tree
run: make clean
@@
-40,4
+40,4
@@
jobs:
run: ./configure --disable-japanese
- name: Build English version
- run: make
+ run: make
-j$(nproc)