Skip to content
Snippets Groups Projects
Unverified Commit b6accc84 authored by Linfeng Qian's avatar Linfeng Qian
Browse files

Update release build CI config

parent 7dd3b85c
No related branches found
No related tags found
No related merge requests found
......@@ -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
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment