Skip to content

Setup MinGW for Windows builds #10

Setup MinGW for Windows builds

Setup MinGW for Windows builds #10

Workflow file for this run

name: Test
on:
pull_request:
branches:
- main
jobs:
build:
name: Test
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install X11 on Ubuntu
run: sudo apt-get install libgl1-mesa-dev libxi-dev libxcursor-dev libxrandr-dev libxinerama-dev
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: '1.21.0'
- name: Run tests
run: |
go test -v ./...