Skip to content

Update c-cpp.yml

Update c-cpp.yml #34

Workflow file for this run

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;
"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