Skip to content

Commit

Permalink
ci: remove linux gui builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Vendicated committed Jan 22, 2024
1 parent 26d0ddc commit 73a4da7
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,34 +31,21 @@ jobs:
restore-keys: |
${{ runner.os }}-go-
- name: Install Linux dependencies
run: |
sudo apt update
sudo apt install -y pkg-config libsdl2-dev libx11-dev libxcursor-dev libxrandr-dev libxinerama-dev libxi-dev libglx-dev libgl1-mesa-dev libxxf86vm-dev libwayland-dev libxkbcommon-dev wayland-protocols extra-cmake-modules
- name: Install Go dependencies
run: go get -v

- name: Build X11 Gui
run: CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build -v -tags static -ldflags "-s -w -X 'vencordinstaller/buildinfo.InstallerGitHash=$(git rev-parse --short HEAD)' -X 'vencordinstaller/buildinfo.InstallerTag=${{ github.ref_name }}'" -o VencordInstaller-x11

- name: Build Wayland Gui
run: CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build -v -tags "static wayland" -ldflags "-s -w -X 'vencordinstaller/buildinfo.InstallerGitHash=$(git rev-parse --short HEAD)' -X 'vencordinstaller/buildinfo.InstallerTag=${{ github.ref_name }}'" -o VencordInstaller-wayland

- name: Build Cli
run: CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -v -tags "static cli" -ldflags "-s -w -X 'vencordinstaller/buildinfo.InstallerGitHash=$(git rev-parse --short HEAD)' -X 'vencordinstaller/buildinfo.InstallerTag=${{ github.ref_name }}'" -o VencordInstallerCli-linux

- name: Update executable
run: |
chmod +x VencordInstaller-*
chmod +x VencordInstallerCli-linux
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: VencordInstaller-linux
path: |
VencordInstaller-x11
VencordInstaller-wayland
VencordInstallerCli-linux
Expand Down Expand Up @@ -212,6 +199,6 @@ jobs:
prerelease: false
draft: false
files: |
linux/VencordInstalle*
linux/VencordInstallerCli-linux
macos/VencordInstaller.MacOS.zip
windows/VencordInstalle*.exe

0 comments on commit 73a4da7

Please sign in to comment.