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 dd94b88 commit 8cb692c
Showing 1 changed file with 10 additions and 102 deletions.
112 changes: 10 additions & 102 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,23 +20,7 @@ jobs:
goos: linux
goarch: amd64
pre_command: |
# gcc
sudo apt install gcc libc6-dev pkg-config
# 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 libx11-dev
go get -u github.com/go-vgo/robotgo
sudo apt install gcc libc6-dev pkg-config libx11-dev xorg-dev libxtst-dev xsel xclip libpng++-dev xcb libxcb-xkb-dev x11-xkb-utils libx11-xcb-dev libxkbcommon-x11-dev libxkbcommon-dev libx11-dev && go get -u github.com/go-vgo/robotgo
release-linux-arm64:
name: release linux/arm64
runs-on: ubuntu-latest
Expand All @@ -48,23 +32,8 @@ jobs:
goos: linux
goarch: arm64
pre_command: |
# gcc
sudo apt install gcc libc6-dev pkg-config
# 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 libx11-dev
go get -u github.com/go-vgo/robotgo
sudo apt install gcc libc6-dev pkg-config libx11-dev xorg-dev libxtst-dev xsel xclip libpng++-dev xcb libxcb-xkb-dev x11-xkb-utils libx11-xcb-dev libxkbcommon-x11-dev libxkbcommon-dev libx11-dev && go get -u github.com/go-vgo/robotgo
release-windows-amd64:
name: release windows/amd64
runs-on: ubuntu-latest
Expand All @@ -76,23 +45,8 @@ jobs:
goos: windows
goarch: amd64
pre_command: |
# gcc
sudo apt install gcc libc6-dev pkg-config
# 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 libx11-dev
go get -u github.com/go-vgo/robotgo
sudo apt install gcc libc6-dev pkg-config libx11-dev xorg-dev libxtst-dev xsel xclip libpng++-dev xcb libxcb-xkb-dev x11-xkb-utils libx11-xcb-dev libxkbcommon-x11-dev libxkbcommon-dev libx11-dev && go get -u github.com/go-vgo/robotgo
release-windows-arm64:
name: release windows/arm64
runs-on: ubuntu-latest
Expand All @@ -104,23 +58,8 @@ jobs:
goos: windows
goarch: arm64
pre_command: |
# gcc
sudo apt install gcc libc6-dev pkg-config
# 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 libx11-dev
go get -u github.com/go-vgo/robotgo
sudo apt install gcc libc6-dev pkg-config libx11-dev xorg-dev libxtst-dev xsel xclip libpng++-dev xcb libxcb-xkb-dev x11-xkb-utils libx11-xcb-dev libxkbcommon-x11-dev libxkbcommon-dev libx11-dev && go get -u github.com/go-vgo/robotgo
release-darwin-arm64:
name: release darwin/arm64
runs-on: ubuntu-latest
Expand All @@ -132,23 +71,8 @@ jobs:
goos: darwin
goarch: arm64
pre_command: |
# gcc
sudo apt install gcc libc6-dev pkg-config
# 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 libx11-dev
go get -u github.com/go-vgo/robotgo
sudo apt install gcc libc6-dev pkg-config libx11-dev xorg-dev libxtst-dev xsel xclip libpng++-dev xcb libxcb-xkb-dev x11-xkb-utils libx11-xcb-dev libxkbcommon-x11-dev libxkbcommon-dev libx11-dev && go get -u github.com/go-vgo/robotgo
release-darwin-amd64:
name: release darwin/amd64
runs-on: ubuntu-latest
Expand All @@ -160,20 +84,4 @@ jobs:
goos: darwin
goarch: amd64
pre_command: |
# gcc
sudo apt install gcc libc6-dev pkg-config
# 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 libx11-dev
go get -u github.com/go-vgo/robotgo
sudo apt install gcc libc6-dev pkg-config libx11-dev xorg-dev libxtst-dev xsel xclip libpng++-dev xcb libxcb-xkb-dev x11-xkb-utils libx11-xcb-dev libxkbcommon-x11-dev libxkbcommon-dev libx11-dev && go get -u github.com/go-vgo/robotgo

0 comments on commit 8cb692c

Please sign in to comment.