.github/workflow: add a test for internal/shader on Windows

This also required to configure Git for Windows.
This commit is contained in:
Hajime Hoshi 2022-03-18 20:45:03 +09:00
parent 58366ce64d
commit 839e442412

View File

@ -16,6 +16,12 @@ jobs:
run:
shell: bash
steps:
- name: Git
run: |
# See actions/checkout#135
git config --global core.autocrlf false
git config --global core.eol lf
- name: Checkout
uses: actions/checkout@v2
@ -90,6 +96,11 @@ jobs:
run: |
go test -tags=example ${{ !startsWith(matrix.go, '1.15.') && !startsWith(matrix.go, '1.16.') && '-shuffle=on' || '' }} -v ./...
- name: go test (Windows)
if: ${{ startsWith(matrix.os, 'windows-') }}
run: |
go test -tags=example ${{ !startsWith(matrix.go, '1.15.') && !startsWith(matrix.go, '1.16.') && '-shuffle=on' || '' }} -v ./internal/shader
- name: go test (Wasm)
# TODO: Investigate times out on Windows. (#1313)
if: ${{ !startsWith(matrix.os, 'windows-') && !startsWith(matrix.go, '1.15.') && !startsWith(matrix.go, '1.16.') }}