Skip to content

Commit

Permalink
Try abandoning the container for the moment.
Browse files Browse the repository at this point in the history
  • Loading branch information
vitropy committed Oct 26, 2023
1 parent 1caea8b commit bc87c5c
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/build-and-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ jobs:
build:
name: Build and upload binaries
runs-on: ubuntu-22.04
container:
image: rust:1.73.0-slim-bullseye
outputs:
git_ref_basename: ${{ steps.git-ref-basename.outputs.git_ref_basename }}
steps:
Expand All @@ -27,15 +25,18 @@ jobs:
run: |
echo git_ref_basename="$(basename "${{ github.ref_name }}")" >> $GITHUB_OUTPUT
- uses: actions/checkout@v4
- name: Prepare Rust container.
- name: Prepare Rust.
env:
DEBIAN_FRONTEND: noninteractive
run: |
apt-get update
apt-get install --yes \
sudo apt-get update
sudo apt-get install --yes \
git pkg-config protobuf-compiler make libjemalloc2 clang \
openssl libssl-dev
rustup target add wasm32-unknown-unknown
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > /tmp/rustup-init.sh
chmod a+x /tmp/rustup-init.sh
sudo /tmp/rustup-init.sh -y
~/.cargo/bin/rustup target add wasm32-unknown-unknown
- name: Set up SSH.
shell: bash
run: |
Expand Down Expand Up @@ -81,7 +82,7 @@ jobs:
run: |
# Pass `--target` explicitly because of
# https://github.com/rust-lang/rust/issues/78210
cargo build --release --target x86_64-unknown-linux-gnu
~/.cargo/bin/cargo build --release --target x86_64-unknown-linux-gnu
- uses: actions/upload-artifact@v3
with:
name: entropy_${{ steps.git-ref-basename.outputs.git_ref_basename }}_${{ runner.os }}_${{ runner.arch }}
Expand Down

0 comments on commit bc87c5c

Please sign in to comment.