mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 11:18:54 +01:00
.github/workflow: add a test for internal/shader on Windows
This also required to configure Git for Windows.
This commit is contained in:
parent
58366ce64d
commit
839e442412
11
.github/workflows/test.yml
vendored
11
.github/workflows/test.yml
vendored
@ -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.') }}
|
||||
|
Loading…
Reference in New Issue
Block a user