fix: github windows action
This commit is contained in:
4
.github/workflows/build.yaml
vendored
4
.github/workflows/build.yaml
vendored
@@ -16,7 +16,9 @@ jobs:
|
|||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- if: matrix.os == 'windows-latest' && matrix.compiler == 'gcc'
|
- if: matrix.os == 'windows-latest' && matrix.compiler == 'gcc'
|
||||||
uses: egor-tensin/setup-mingw@v2
|
uses: csukuangfj/setup-mingw@v2.2.1
|
||||||
|
with:
|
||||||
|
version: '12.2.0'
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
run: ${{ matrix.compiler }} -o scanner.o -I./src -c src/scanner.c -Werror
|
run: ${{ matrix.compiler }} -o scanner.o -I./src -c src/scanner.c -Werror
|
||||||
|
|||||||
Reference in New Issue
Block a user