Skip to content

Commit

Permalink
Use native rust tls - no openssl
Browse files Browse the repository at this point in the history
  • Loading branch information
dantleech committed Jul 30, 2023
1 parent 37c532b commit fbaf960
Show file tree
Hide file tree
Showing 7 changed files with 133 additions and 137 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,19 @@ jobs:
os: ubuntu-latest
artifact_name: target/release/strava-rs
asset_name: strava-rs-linux
- name: windows
os: windows-latest
artifact_name: target/release/strava-rs.exe
asset_name: strava-rs-windows
- name: macos
os: macos-latest
artifact_name: target/release/strava-rs
asset_name: strava-rs-macos

steps:
- uses: actions/checkout@v3
- name: Install deps
run: sudo apt-get update && sudo apt-get install -y openssl-dev
- name: Build
run: env OPENSSL_LIB_DIR=/usr/local/lib/ OPENSSL_INCLUDE_DIR=/usr/local/include OPENSSL_STATIC=yes cargo build --release --locked
run: cargo build --release --locked

- name: Rename
run: mv ${{ matrix.artifact_name }} ${{ matrix.asset_name }}
Expand Down
Loading

0 comments on commit fbaf960

Please sign in to comment.