Skip to content

Commit

Permalink
Merge pull request #163 from axrt/devel/axrt/issues/161
Browse files Browse the repository at this point in the history
[issue-161] Update workflow to link glibc statically
  • Loading branch information
michaelb authored May 26, 2022
2 parents 9f9971e + 99bd2bf commit c37ce1d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:

env:
CARGO_TERM_COLOR: always
RUSTFLAGS: -C target-feature=+crt-static


jobs:
Expand All @@ -15,10 +16,10 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: build
run: cargo build --release --verbose && mv ./target/release/sniprun .
run: cargo build --target x86_64-unknown-linux-gnu --release --verbose && mv ./target/x86_64-unknown-linux-gnu/release/sniprun .

- name: upload to releases
uses: svenstaro/upload-release-action@v2
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: sniprun
Expand Down

0 comments on commit c37ce1d

Please sign in to comment.