Skip to content

Commit

Permalink
Adjust make for linux to include systemd lib
Browse files Browse the repository at this point in the history
  • Loading branch information
ruffrey committed Apr 22, 2023
1 parent 9408c30 commit d3201bf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,13 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17
go-version: 1.18

- name: Set up dependencies
run: |
sudo apt-get update
sudo apt-get install -y gcc-aarch64-linux-gnu gcc-x86-64-linux-gnu
run: make prepare-linux

- name: Build binaries
run: make
run: make build

- name: Create Release
id: create_release
Expand Down
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,4 @@ prepare-macos:
ln -s /usr/local/bin/aarch64-linux-musl-gcc /usr/local/bin/aarch64-linux-gnu-gcc

prepare-linux:
sudo apt-get install gcc-aarch64-linux-gnu
sudo apt-get install gcc-x86-64-linux-gnu
sudo apt-get install -y gcc-aarch64-linux-gnu gcc-x86-64-linux-gnu libsystemd-dev

0 comments on commit d3201bf

Please sign in to comment.