mirror of
https://github.com/UnnoTed/wireguird
synced 2026-07-25 17:24:46 -04:00
Merge 4f614e5b5a into 6dac3cd878
This commit is contained in:
commit
7f928f3fac
23
.github/workflows/linux-x64-build.yml
vendored
Normal file
23
.github/workflows/linux-x64-build.yml
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
name: linux 64 bit build
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- name: Get code
|
||||
uses: actions/checkout@v4
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo apt install wireguard-tools libgtk-3-dev libayatana-appindicator3-dev golang-go
|
||||
- name: Compile
|
||||
run: |
|
||||
./package.sh
|
||||
- name: Artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: artifacts
|
||||
path: |
|
||||
build
|
||||
|
||||
5
.gitignore
vendored
5
.gitignore
vendored
@ -16,4 +16,7 @@
|
||||
|
||||
./wireguird
|
||||
./wireguird.glade~
|
||||
./wireguird.settings
|
||||
./wireguird.settings
|
||||
|
||||
# Artifacts
|
||||
build/
|
||||
|
||||
4
deps.sh
4
deps.sh
@ -5,7 +5,9 @@ if [[ -f "/etc/os-release" ]]; then
|
||||
#sudo dnf install wireguard-tools gtk3-devel golang resolvconf
|
||||
elif [[ "${ID}" == "ubuntu" ]]; then
|
||||
sudo apt install wireguard-tools libgtk-3-dev libayatana-appindicator3-dev golang-go resolvconf
|
||||
elif [[ "${ID}" == "debian" ]]; then
|
||||
elif [[ "${ID}" == "debian" && "${VERSION_CODENAME}" == "bookworm" ]]; then
|
||||
sudo apt install wireguard-tools libgtk-3-dev libayatana-appindicator3-dev golang-go resolvconf
|
||||
elif [[ "${ID}" == "debian" && "${VERSION_CODENAME}" == "bullseye" ]]; then
|
||||
sudo apt install wireguard-tools libgtk-3-dev libayatana-appindicator3-dev golang-go resolvconf
|
||||
fi
|
||||
fi
|
||||
|
||||
Loading…
Reference in New Issue
Block a user