Skip to content

Commit

Permalink
Update c-cpp.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
veganaize authored Oct 16, 2024
1 parent 2886f80 commit 0339f16
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,21 @@ jobs:
# path: |
# C:\ProgramData\Microsoft\VisualStudio\Packages

- name: RUN CLANG-TIDY LINTER
- name: === RUN CLANG-TIDY LINTER ===
# - run: mkdir -p path/to/artifact
# - run: echo hello > path/to/artifact/world.txt
run: clang-tidy --export-fixes=clang-tidy-fixes.yaml.txt *.c *.h
run: clang-tidy *.c *.h >clang-tidy.txt
- uses: actions/upload-artifact@v4
with:
name: clang-tidy-fixes-artifact
path: clang-tidy-fixes.yaml.txt
name: clang-tidy-artifact
path: clang-tidy.txt
overwrite: true

- name: DOWNLOAD VS2019 BUILD TOOLS INSTALLER
- name: === DOWNLOAD VS2019 BUILD TOOLS INSTALLER ===
shell: cmd
run: curl --http1.0 -O https://download.visualstudio.microsoft.com/download/pr/2282640c-c74e-4d6a-9710-4eb8fef730e6/dfa5c24fb7aa4d11bf375bd2a46d19d3a1ff907cbc88468b0a50e3d71d53f77a/vs_BuildTools.exe

- name: INSTALL VS2019 BUILD TOOLS 16.7.28 (XP COMPATIBLE)
- name: === INSTALL VS2019 BUILD TOOLS 16.7.28 (XP COMPATIBLE) ===
shell: cmd
run: >
vs_BuildTools.exe
Expand All @@ -51,9 +52,8 @@ jobs:
--add Microsoft.VisualStudio.Component.VC.Tools.x86.x64
--locale en-US
- name: BUILD X86 PROJECT
- name: === BUILD X86 PROJECT ===
shell: cmd
run: >
"C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build\vcvars32.bat"
&& cl /W3 main.c hd.c /Fe"hd.exe"

0 comments on commit 0339f16

Please sign in to comment.