Check log behavior #4
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
# This github action workflow allows c/check-log-behavior/main.c | |
# to be compiled and run on Windows in github actions. Use the | |
# github "Actions" web interface to manually trigger the action. | |
name: Check log behavior | |
on: workflow_dispatch | |
jobs: | |
some_job_name: | |
runs-on: windows-2019 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Install llvm | |
run: | | |
choco install llvm -y --version=16.0.6 | |
- name: Compile and run | |
run: | | |
clang --version | |
cd c/check-log-behavior | |
clang-cl -m64 main.c -o main.exe | |
./main.exe |