fix
This commit is contained in:
parent
75aaef02aa
commit
f6cba0e613
|
@ -1,17 +1,19 @@
|
|||
on: [push, pull_request]
|
||||
on: [ push, pull_request ]
|
||||
name: test
|
||||
jobs:
|
||||
test:
|
||||
strategy:
|
||||
matrix:
|
||||
go-version: [1.16.x, 1.17.x]
|
||||
os: [ubuntu-latest, windows-latest]
|
||||
go-version: [ 1.16.x, 1.17.x ]
|
||||
os: [ ubuntu-latest, windows-latest ]
|
||||
runs-on: ${{ matrix.os }}
|
||||
env:
|
||||
GO111MODULE: on
|
||||
steps:
|
||||
- name: Install env dependancies
|
||||
run: |
|
||||
if [ "$RUNNER_OS" == "Linux" ]; then
|
||||
sudo apt-get install -y xorg-dev libx11-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libopenal-dev libasound2-dev libgl1-mesa-dev
|
||||
sudo apt-get install -y xorg-dev libx11-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libopenal-dev libasound2-dev libgl1-mesa-dev mesa-utils
|
||||
elif [ "$RUNNER_OS" == "Windows" ]; then
|
||||
echo "windows"
|
||||
else
|
||||
|
@ -26,4 +28,4 @@ jobs:
|
|||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
- name: Test
|
||||
run: go test ./...
|
||||
run: go test -v -race -mod=readonly ./...
|
||||
|
|
Loading…
Reference in New Issue