add license headers and authors file, now that the project has diverg… #41
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 Linux | |
on: | |
push: | |
paths-ignore: | |
- "README.md" | |
- "CHANGELOG.md" | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
go: ["1.19", "1.20", "1.21"] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Library dependencies | |
run: sudo apt-get install libmpv-dev libglx-dev libgl-dev | |
- uses: actions/checkout@v4 | |
- name: Install Go ${{ matrix.go }} | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ matrix.go }} | |
- name: Compile | |
run: | | |
go get . | |
go build . | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
if: matrix.go == '1.21' && startsWith(github.ref, 'refs/tags/') | |
with: | |
files: stmp |