Skip to content

Commit 65ef1b8

Browse files
committed
mac のみ cmake versionを3.27に
1 parent 8525d23 commit 65ef1b8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/actions/build/action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,12 @@ runs:
4040
run: sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev
4141
shell: ${{ inputs.shell_type }}
4242

43-
# CMakeのセットアップ
44-
- name: Setup CMake
43+
# Mac向けのCMakeのセットアップ
44+
- name: Setup CMake on macOS
45+
if: runner.os == 'macOS'
4546
uses: lukka/get-cmake@latest
4647
with:
47-
cmakeVersion: '3.25.2' # ← 使用したいバージョンを指定
48+
cmakeVersion: '3.27.x' # cmakeバージョンを指定
4849

4950
- name: Check CMake version
5051
run: cmake --version
@@ -106,7 +107,6 @@ runs:
106107
-D BUILD_LIB_TYPE=dynamic
107108
-D RUNTIME_LIB_TYPE=MT
108109
-D CMAKE_OSX_ARCHITECTURES:STRING="${{ inputs.arch }}"
109-
-D CMAKE_POLICY_VERSION_MINIMUM=3.5
110110
${{ env.ADDITIONAL_CMAKE_OPTIONS }}
111111
shell: ${{ inputs.shell_type }}
112112
# 10万行超えの警告が出るので一時的な処置として警告を抑制しています。

0 commit comments

Comments
 (0)