Update c-cpp.yml #36
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: C/C++ CI | ||
on: | ||
push: | ||
branches: [ "master" ] | ||
pull_request: | ||
branches: [ "master" ] | ||
jobs: | ||
build: | ||
runs-on: windows-2019 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
# - name: Run clang-tidy linter | ||
# run: clang-tidy *.c *.h | ||
# - name: Build x86 project | ||
# shell: cmd | ||
# run: > | ||
# "C:\Progra~2\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars32.bat" | ||
# && cl /W3 main.c hd.c /Fe"hd.exe" | ||
- name: Chocolatey | ||
shell: cmd | ||
run: > | ||
choco install visualstudio2019buildtools | ||
--package-parameters | ||
"--add Microsoft.VisualStudio.Component.VC.v142.x86.x64 --passive --locale en-US" | ||
--version=16.7.7.0 | ||
- name: CL version | ||
shell: cmd | ||
run: > | ||
"C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build\vcvars32.bat" | ||
&& cl /? | ||
# - name: configure | ||
# run: ./configure | ||
# - name: make | ||
# run: make | ||
# - name: make check | ||
# run: make check | ||
# - name: make distcheck | ||
# run: make distcheck |