Add point function #18
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
go-version: ['1.21'] | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Update apt | |
if: runner.os == 'Linux' | |
run: sudo apt-get update | |
- name: Install dependencies | |
if: runner.os == 'Linux' | |
run: sudo apt-get install libgl1-mesa-dev xorg-dev libasound2-dev gcc-mingw-w64 g++-mingw-w64 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- uses: actions/checkout@v3 | |
- name: make All | |
run: make all | |
# Maybe one day | |
# - name: Upload coverage to Codecov | |
# uses: codecov/codecov-action@v2 |