Skip to content

Commit

Permalink
Update release build CI config
Browse files Browse the repository at this point in the history
  • Loading branch information
TheWaWaR committed Oct 26, 2023
1 parent 7dd3b85 commit b6accc8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ jobs:
env:
BINARY_EXTENSION: ${{ endsWith(matrix.target, '-msvc') && '.exe' || '' }}
PATH_BINARY: ${{ github.workspace }}/target/${{ matrix.TARGET }}/release/simple-http-server${{ matrix.EXTENSION }}${{ endsWith(matrix.target, '-msvc') && '.exe' || '' }}
OPENSSL_STATIC: 1
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
Expand All @@ -89,6 +90,10 @@ jobs:
override: true
components: clippy
target: ${{ matrix.target }}
- if: ${{ matrix.os == 'ubuntu-latest' }}
run: sudo apt update -y && sudo apt install libssl-dev -y
- if: ${{ matrix.os == 'macos-latest' }}
run: brew install openssl
- uses: actions-rs/cargo@v1
with:
use-cross: true
Expand Down

0 comments on commit b6accc8

Please sign in to comment.