Skip to content

Commit

Permalink
up build*.xml 2023-10-30
Browse files Browse the repository at this point in the history
  • Loading branch information
hktalent committed Oct 30, 2023
1 parent a7b02fc commit 40d6c24
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 11 deletions.
9 changes: 8 additions & 1 deletion .github/build/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,15 @@ builds:
# - s390x
# - arm
# - arm64
extra_files:
- from: ../config
to: config
archives:
- format: zip
- format: zip
files:
- LICENSE*
- README*
- config/**/*

checksum:
name_template: "{{ .ProjectName }}-linux-checksums.txt"
9 changes: 8 additions & 1 deletion .github/build/linuxarm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,15 @@ builds:
- linux
goarch:
- arm64
extra_files:
- from: ../config
to: config
archives:
- format: zip
- format: zip
files:
- LICENSE*
- README*
- config/**/*

checksum:
name_template: "{{ .ProjectName }}-linux-checksums.txt"
12 changes: 8 additions & 4 deletions .github/build/mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,15 @@ builds:
goarch:
- amd64
- arm64
extra_files:
- from: ../config
to: config

archives:
- format: zip
replacements:
darwin: macOS

- format: zip
files:
- LICENSE*
- README*
- config/**/*
checksum:
name_template: "{{ .ProjectName }}-mac-checksums.txt"
10 changes: 8 additions & 2 deletions .github/build/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,15 @@ builds:
goarch:
- amd64
# - arm64

extra_files:
- from: ../config
to: config
archives:
- format: zip
- format: zip
files:
- LICENSE*
- README*
- config/**/*

checksum:
name_template: "{{ .ProjectName }}-windows-checksums.txt"
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ jobs:
with:
submodules: recursive
fetch-depth: 0
- name: Checkout submodules
run: git submodule update --init --recursive
# - name: Checkout submodules
# run: git submodule update --init --recursive
# - name: Install cross-compiler for linux/arm64
# run: sudo apt-get -y install gcc-aarch64-linux-gnu
- name: Set up Go
Expand All @@ -55,7 +55,7 @@ jobs:
# sudo apt-get -y install gcc-mingw-w64-x86-64
# sudo apt-get -y install gcc-arm-linux-gnueabihf libc6-dev-armhf-cross
# sudo apt-get -y install gcc-aarch64-linux-gnu libc6-dev-arm64-cross
sudo apt install -yy libpcap-dev
sudo apt install -yy libpcap-dev upx
# sudo apt install upx gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
chmod +x .github/workflows/upx.sh
# git submodule update --init --recursive --remote
Expand Down

0 comments on commit 40d6c24

Please sign in to comment.