Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
f01c33 authored May 6, 2024
1 parent 779e614 commit c5d60ee
Showing 1 changed file with 101 additions and 0 deletions.
101 changes: 101 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,22 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: linux
goarch: amd64
pre-command: |
# gcc
sudo apt install gcc libc6-dev
# x11
sudo apt install libx11-dev xorg-dev libxtst-dev
# Clipboard
sudo apt install xsel xclip
#
# Bitmap
sudo apt install libpng++-dev
# GoHook
sudo apt install xcb libxcb-xkb-dev x11-xkb-utils libx11-xcb-dev libxkbcommon-x11-dev libxkbcommon-dev
release-linux-arm64:
name: release linux/arm64
runs-on: ubuntu-latest
Expand All @@ -29,6 +45,23 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: linux
goarch: arm64
pre-command: |
# gcc
sudo apt install gcc libc6-dev
# x11
sudo apt install libx11-dev xorg-dev libxtst-dev
# Clipboard
sudo apt install xsel xclip
#
# Bitmap
sudo apt install libpng++-dev
# GoHook
sudo apt install xcb libxcb-xkb-dev x11-xkb-utils libx11-xcb-dev libxkbcommon-x11-dev libxkbcommon-dev
release-windows-amd64:
name: release windows/amd64
runs-on: ubuntu-latest
Expand All @@ -39,6 +72,23 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: windows
goarch: amd64
pre-command: |
# gcc
sudo apt install gcc libc6-dev
# x11
sudo apt install libx11-dev xorg-dev libxtst-dev
# Clipboard
sudo apt install xsel xclip
#
# Bitmap
sudo apt install libpng++-dev
# GoHook
sudo apt install xcb libxcb-xkb-dev x11-xkb-utils libx11-xcb-dev libxkbcommon-x11-dev libxkbcommon-dev
release-windows-arm64:
name: release windows/arm64
runs-on: ubuntu-latest
Expand All @@ -49,6 +99,23 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: windows
goarch: arm64
pre-command: |
# gcc
sudo apt install gcc libc6-dev
# x11
sudo apt install libx11-dev xorg-dev libxtst-dev
# Clipboard
sudo apt install xsel xclip
#
# Bitmap
sudo apt install libpng++-dev
# GoHook
sudo apt install xcb libxcb-xkb-dev x11-xkb-utils libx11-xcb-dev libxkbcommon-x11-dev libxkbcommon-dev
release-darwin-arm64:
name: release darwin/arm64
runs-on: ubuntu-latest
Expand All @@ -59,6 +126,23 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: darwin
goarch: arm64
pre-command: |
# gcc
sudo apt install gcc libc6-dev
# x11
sudo apt install libx11-dev xorg-dev libxtst-dev
# Clipboard
sudo apt install xsel xclip
#
# Bitmap
sudo apt install libpng++-dev
# GoHook
sudo apt install xcb libxcb-xkb-dev x11-xkb-utils libx11-xcb-dev libxkbcommon-x11-dev libxkbcommon-dev
release-darwin-amd64:
name: release darwin/amd64
runs-on: ubuntu-latest
Expand All @@ -69,3 +153,20 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: darwin
goarch: amd64
pre-command: |
# gcc
sudo apt install gcc libc6-dev
# x11
sudo apt install libx11-dev xorg-dev libxtst-dev
# Clipboard
sudo apt install xsel xclip
#
# Bitmap
sudo apt install libpng++-dev
# GoHook
sudo apt install xcb libxcb-xkb-dev x11-xkb-utils libx11-xcb-dev libxkbcommon-x11-dev libxkbcommon-dev

0 comments on commit c5d60ee

Please sign in to comment.