Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! DELETEME
Browse files Browse the repository at this point in the history
  • Loading branch information
richardpringle committed Feb 6, 2024
1 parent cecb3fe commit 6810d55
Showing 1 changed file with 17 additions and 11 deletions.
28 changes: 17 additions & 11 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,25 @@ jobs:
name: unit tests
runs-on: ubuntu-latest
steps:
- name: Remove unnecessary files
- name: clean unncessary files to save space
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf /usr/local/share/boost
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
docker rmi `docker images -q`
sudo rm -rf /usr/share/dotnet /etc/mysql /etc/php /etc/sudo apt/sources.list.d
sudo apt -y autoremove --purge
sudo apt -y autoclean
sudo apt clean
rm -rf "$AGENT_TOOLSDIRECTORY"
df -h
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
tool-cache: true
large-packages: true
swap-storage: true
- name: Install linker
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends \
gcc-multilib
sudo apt update
sudo apt install -y --no-install-recommends gcc
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
- name: Check Rust version
Expand All @@ -41,9 +49,7 @@ jobs:
- name: DELETEME
run: |
cargo install erdtree
cargo build --all-features --tests -p avalanche-types
erd -H -L 1 .
erd -H -L 1 ~/.cargo
erd -H -L 1 /
- name: Run unit tests
shell: bash
run: scripts/tests.unit.sh

0 comments on commit 6810d55

Please sign in to comment.