Add github msys2 workflow #41
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
on: push | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: msys2/setup-msys2@v2 | |
with: | |
msystem: msys | |
install: gcc make diffutils | |
- uses: actions/checkout@v4 | |
- shell: msys2 {0} | |
run: | | |
mount | |
./configure --host=x86_64-windows-msvc CC=cl | |
gcc line.c | |
./a.exe | od -t ax1 | |
od -t ax1 b | |
od -t ax1 c | |
od -t ax1 test/basic.c | |
nmake cproc-qbe | |
make all check bootstrap |