Skip to content

remove old makefile and config files; fix ci #309

remove old makefile and config files; fix ci

remove old makefile and config files; fix ci #309

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
name: Build
strategy:
matrix:
go-version: [1.22.x]
platform: [ubuntu-latest] # not macos-latest
runs-on: ${{ matrix.platform }}
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Cache-Go
uses: actions/cache@v1
with:
path: |
~/go/pkg/mod # Module download cache
~/.cache/go-build # Build cache (Linux)
~/Library/Caches/go-build # Build cache (Mac)
'%LocalAppData%\go-build' # Build cache (Windows)
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
- name: Install dep libs
run: |
sudo apt-get update
sudo apt-get install libgl1-mesa-dev xorg-dev
- name: Checkout code
uses: actions/checkout@v2
- name: Build
run: |
go build -v ./...
- name: Test
run: |
go test -v ./...
- name: Upload-Coverage
if: matrix.platform == 'ubuntu-latest'
run: bash <(curl -s https://codecov.io/bash)