Skip to content

Commit b6accc8

Browse files
committed
Update release build CI config
1 parent 7dd3b85 commit b6accc8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ jobs:
8181
env:
8282
BINARY_EXTENSION: ${{ endsWith(matrix.target, '-msvc') && '.exe' || '' }}
8383
PATH_BINARY: ${{ github.workspace }}/target/${{ matrix.TARGET }}/release/simple-http-server${{ matrix.EXTENSION }}${{ endsWith(matrix.target, '-msvc') && '.exe' || '' }}
84+
OPENSSL_STATIC: 1
8485
steps:
8586
- uses: actions/checkout@v2
8687
- uses: actions-rs/toolchain@v1
@@ -89,6 +90,10 @@ jobs:
8990
override: true
9091
components: clippy
9192
target: ${{ matrix.target }}
93+
- if: ${{ matrix.os == 'ubuntu-latest' }}
94+
run: sudo apt update -y && sudo apt install libssl-dev -y
95+
- if: ${{ matrix.os == 'macos-latest' }}
96+
run: brew install openssl
9297
- uses: actions-rs/cargo@v1
9398
with:
9499
use-cross: true

0 commit comments

Comments
 (0)