Skip to content

Commit

Permalink
fix release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
d3v-null committed Mar 14, 2023
1 parent 604d022 commit 8b80cb6
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,13 @@ set -eux
cp .github/workflows/releases-readme.md README.md

if [[ "$OSTYPE" == "linux-gnu"* ]]; then
# I don't know why, but I need to reinstall Rust. Probably something to do with
# GitHub overriding env variables.
curl https://sh.rustup.rs -sSf | sh -s -- -y
source /root/.cargo/env
# 1.63 is the newest rustc version that can use glibc >= 2.11, and we use it
# because newer versions require glibc >= 2.17 (which this container
# deliberately doesn't have; we want maximum compatibility, so we use an old
# glibc).
rustup install 1.63 --no-self-update
rustup default 1.63

# Build a release for each x86_64 microarchitecture level. v4 can't be
# compiled on GitHub for some reason.
Expand Down

0 comments on commit 8b80cb6

Please sign in to comment.