Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .cargo/config
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,8 @@
#
[build]
rustdocflags = "--document-private-items"

[target.x86_64-unknown-linux-gnu]
# Attempt to get more verbose output from the linker in the event that linking
# fails.
rustflags = ["-C", "link-args=-Wl,-V"]
22 changes: 20 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,26 @@ jobs:
if: ${{ github.ref != 'refs/heads/main' }}
- name: Report cargo version
run: cargo --version
- name: Report disk space
run: df -h .
- name: Remove unnecessary software
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FWIW this feels like a gross hack; I will not be offended if you say so and don't want to merge this!

run: |
echo "Disk space:"
df -h

if [ -d "/usr/share/dotnet" ]; then
echo "Removing dotnet"
sudo rm -rf /usr/share/dotnet
fi
if [ -d "/usr/local/lib/android" ]; then
echo "Removing android"
sudo rm -rf /usr/local/lib/android
fi
if [ -d "/opt/ghc" ]; then
echo "Removing haskell"
sudo rm -rf /opt/ghc
fi

echo "Disk space:"
df -h
- name: Configure GitHub cache for CockroachDB binaries
id: cache-cockroachdb
# actions/cache@v2.1.4
Expand Down