Skip to content

Merge pull request #262 from xushiwei/q #697

Merge pull request #262 from xushiwei/q

Merge pull request #262 from xushiwei/q #697

Workflow file for this run

name: Go
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18
- name: Get dependencies
run: sudo apt-get update && sudo apt-get install gcc libgl1-mesa-dev libegl1-mesa-dev libgles2-mesa-dev libx11-dev xorg-dev libasound2-dev libopenal-dev
if: ${{ runner.os == 'Linux' }}
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...