Skip to content

Commit

Permalink
try to set up cl
Browse files Browse the repository at this point in the history
  • Loading branch information
charlietangora committed Jul 12, 2024
1 parent 5dfae3e commit 2e56b79
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@ jobs:
- uses: actions/checkout@v4
- name: build
working-directory: ${{github.workspace}}
run: cl /W4 /EHsc gif-h-demo.cpp
run: |
${VS_INST_PATH} = & "${env:ProgramFiles(x86)}/Microsoft Visual Studio/Installer/vswhere.exe" -latest -property installationPath
Write-Output " <-> VS Install Path: ${VS_INST_PATH}"
Import-Module ${VS_INST_PATH}/Common7/Tools/Microsoft.VisualStudio.DevShell.dll
Enter-VsDevShell -VsInstallPath ${VS_INST_PATH} -SkipAutomaticLocation -DevCmdArguments '-arch=${{matrix.config.arch}} -no_logo'
cl /W4 /EHsc gif-h-demo.cpp
- name: test
run: ./gif-h-demo.exe
- name: Upload test
Expand Down

0 comments on commit 2e56b79

Please sign in to comment.