@@ -16,30 +16,30 @@ jobs:
1616 strategy :
1717 matrix :
1818 include :
19- - os : macos-latest
20- artifact : macos
21- name : MacOSX
22- inklecate_url : https://github.com/inkle/ink/releases/download/v1.1.1/inklecate_mac.zip
23- proof : false
24- unreal : false
25- - os : macos-14
26- artifact : macos-arm
27- name : MacOSX-ARM
28- inklecate_url : https://github.com/inkle/ink/releases/download/v1.1.1/inklecate_mac.zip
29- proof : false
30- unreal : false
19+ # - os: macos-latest
20+ # artifact: macos
21+ # name: MacOSX
22+ # inklecate_url: https://github.com/inkle/ink/releases/download/v1.1.1/inklecate_mac.zip
23+ # proof: false
24+ # unreal: false
25+ # - os: macos-14
26+ # artifact: macos-arm
27+ # name: MacOSX-ARM
28+ # inklecate_url: https://github.com/inkle/ink/releases/download/v1.1.1/inklecate_mac.zip
29+ # proof: false
30+ # unreal: false
3131 - os : windows-latest
3232 artifact : win64
3333 name : Windows x64
3434 inklecate_url : https://github.com/inkle/ink/releases/download/v1.1.1/inklecate_windows.zip
3535 proof : true
3636 unreal : false
37- - os : " ubuntu-22.04"
38- artifact : linux
39- name : Linux x64
40- inklecate_url : https://github.com/inkle/ink/releases/download/v1.1.1/inklecate_linux.zip
41- proof : true
42- unreal : true
37+ # - os: "ubuntu-22.04"
38+ # artifact: linux
39+ # name: Linux x64
40+ # inklecate_url: https://github.com/inkle/ink/releases/download/v1.1.1/inklecate_linux.zip
41+ # proof: true
42+ # unreal: true
4343
4444 steps :
4545
@@ -71,16 +71,34 @@ jobs:
7171
7272 # Run CMake configuration to create build files
7373 - name : Configure CMake
74- shell : bash
7574 working-directory : ${{github.workspace}}/build
76- run : cmake $GITHUB_WORKSPACE -GNinja -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DINKCPP_PY=OFF -DINKCPP_C=ON -DINKCPP_TEST=ON -DINKCPP_INKLECATE=OS
75+ shell : pwsh -command ". {0}"
76+ run : cmake ${{github.workspace}} -GNinja -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE}} -DINKCPP_PY=OFF -DINKCPP_C=ON -DINKCPP_TEST=ON -DINKCPP_INKLECATE=OS
7777
7878 # Build using CMake and OS toolkit
7979 - name : Build
8080 working-directory : ${{github.workspace}}/build
81- shell : bash
82- run : cmake --build . --config $BUILD_TYPE
83-
81+ shell : pwsh
82+ run : cmake --build . --config ${{env.BUILD_TYPE}}
83+ - name : Install Dumpbin
84+ shell : pwsh
85+ if : always()
86+ run : |
87+ Set-ExecutionPolicy Bypass -Scope Process -Force;
88+ [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072;
89+ iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
90+ choco install visualstudio2019buildtools --package-parameters "--includeRecommended --includeOptional --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64" --no-progress
91+ $vsPath = "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC"
92+ $latestVersion = (Get-ChildItem -Path $vsPath | Sort-Object Name -Descending | Select-Object -First 1).Name
93+ $dumpbinPath = "$vsPath\$latestVersion\bin\Hostx64\x64"
94+ echo $dumpbinPath >> $env:GITHUB_PATH
95+ - name : Inspect inkcpp_cl dependencies
96+ shell : pwsh
97+ working-directory : ${{github.workspace}}/build
98+ if : always()
99+ run : |
100+ dumpbin /dependents inkcpp_cl\inkcpp_cl.exe
101+ dumpbin /imports inkcpp_cl\inkcpp_cl.exe
84102 # Run CMake tests (unit tests, etc.)
85103 - name : CTests
86104 working-directory : ${{github.workspace}}/build
@@ -243,12 +261,10 @@ jobs:
243261 - name : Create Build Environment
244262 run : cmake -E make_directory ${{github.workspace}}/build
245263 - name : Configure CMake
246- shell : bash
247264 working-directory : ${{github.workspace}}/build
248265 run : cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=Release -DINKCPP_PY=ON -DINKCPP_DOC_BlueprintUE=ON
249266 - name : Build
250267 working-directory : ${{github.workspace}}/build
251- shell : bash
252268 run : cmake --build . --target doc --config Release
253269 - name : Upload
254270 uses : actions/upload-artifact@v7
0 commit comments