File tree Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Original file line number Diff line number Diff line change 12
12
goreleaser :
13
13
runs-on : ubuntu-latest
14
14
steps :
15
+ - name : GCC multilib
16
+ run : |
17
+ sudo apt-get install gcc-multilib g++-multilib
18
+ - name : OSXCross for CGO Support
19
+ run : |
20
+ mkdir ../../osxcross
21
+ git clone https://github.com/plentico/osxcross-target.git ../../osxcross/target
22
+ - name : Downgrade libssl
23
+ run : |
24
+ echo 'deb http://security.ubuntu.com/ubuntu bionic-security main' | sudo tee -a /etc/apt/sources.list
25
+ sudo apt update && apt-cache policy libssl1.0-dev
26
+ sudo apt-get install libssl1.0-dev
15
27
-
16
28
name : Checkout
17
29
uses : actions/checkout@v2
Original file line number Diff line number Diff line change @@ -9,10 +9,13 @@ before:
9
9
builds :
10
10
- env :
11
11
- CGO_ENABLED=1
12
+ - CC=/home/runner/work/osxcross/target/bin/o64-clang
13
+ - CXX=/home/runner/work/osxcross/target/bin/o64-clang++
12
14
goos :
13
- - linux
14
- - windows
15
15
- darwin
16
+ ldflags :
17
+ - -s
18
+
16
19
archives :
17
20
- replacements :
18
21
darwin : Darwin
You can’t perform that action at this time.
0 commit comments