Skip to content
This repository has been archived by the owner on May 18, 2024. It is now read-only.

Commit

Permalink
workflows: llvm-mingw
Browse files Browse the repository at this point in the history
  • Loading branch information
visualfc committed Nov 20, 2022
1 parent 599e788 commit b5a0af9
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,32 @@ jobs:

- name: Codecov
uses: codecov/codecov-action@v2

TestWindows:
strategy:
matrix:
go-version: [1.17.x]
os: [windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2

- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}

- name: Set up llvm-mingw
run: |
curl -LJO https://github.com/mstorsjo/llvm-mingw/releases/download/20211002/llvm-mingw-20211002-msvcrt-x86_64.zip
unzip -q -d c:\ llvm-mingw-20211002-msvcrt-x86_64.zip
$Env:PATH = "c:\llvm-mingw-20211002-msvcrt-x86_64\bin;$Env:PATH"
- name: Build
run: go build -v ./...

- name: Test
run: go test -v -coverprofile="coverage.txt" -covermode=atomic ./...

- name: Codecov
uses: codecov/codecov-action@v2

0 comments on commit b5a0af9

Please sign in to comment.