Skip to content

Commit

Permalink
setup github build action
Browse files Browse the repository at this point in the history
  • Loading branch information
splitbrain committed Jun 19, 2024
1 parent 60cdb90 commit 326f5c3
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
on:
release:
types: [created]
workflow_dispatch:

permissions:
contents: write
packages: write

jobs:
releases-matrix:
name: Release Go Binary
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: 'src/go.mod'
- name: Build Binaries
run: |
sudo apt-get update
sudo apt-get install -y build-essential gcc-multilib gcc-mingw-w64 pkg-config libgl1-mesa-dev xorg-dev
cd src
make all

0 comments on commit 326f5c3

Please sign in to comment.