Skip to content

Commit

Permalink
Added missing gcc 32-bit lib to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
moloch-- committed Mar 15, 2021
1 parent d86661a commit 53b57c8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/autorelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
run: |
sudo apt-get update --fix-missing && sudo apt-get -y install \
git build-essential zlib1g zlib1g-dev wget zip unzip \
mingw-w64 binutils-mingw-w64 g++-mingw-w64
mingw-w64 binutils-mingw-w64 g++-mingw-w64 gcc-multilib
- name: Protoc
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
run: |
sudo apt-get update --fix-missing && sudo apt-get -y install \
git build-essential zlib1g zlib1g-dev wget zip unzip \
mingw-w64 binutils-mingw-w64 g++-mingw-w64
mingw-w64 binutils-mingw-w64 g++-mingw-w64 gcc-multilib
- name: Protoc
env:
Expand Down
11 changes: 7 additions & 4 deletions server/generate/binaries_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ package generate

import (
"fmt"
"runtime"
"testing"

"github.com/bishopfox/sliver/protobuf/clientpb"
Expand Down Expand Up @@ -81,10 +82,12 @@ func TestSliverExecutableLinux(t *testing.T) {
}

func TestSliverSharedLibraryLinux(t *testing.T) {
multiLibrary(t, "linux", "amd64", true)
multiLibrary(t, "linux", "amd64", false)
multiLibrary(t, "linux", "386", true)
multiLibrary(t, "linux", "386", false)
if runtime.GOOS == "linux" {
multiLibrary(t, "linux", "amd64", true)
multiLibrary(t, "linux", "amd64", false)
multiLibrary(t, "linux", "386", true)
multiLibrary(t, "linux", "386", false)
}
}

func TestSliverExecutableDarwin(t *testing.T) {
Expand Down

0 comments on commit 53b57c8

Please sign in to comment.