Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
tgross35 committed Dec 7, 2024
1 parent ae009db commit 447096a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 53 deletions.
59 changes: 6 additions & 53 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,36 +42,18 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Print dir sizes before toolchain
run: |
set -x
du -sh ~/.cargo
du -sh ~/.rustup
du -sh target || true
run: ./ci/test-script.sh
- name: Setup Rust toolchain
run: ./ci/install-rust.sh
- uses: Swatinem/rust-cache@v2
with:
key: ${{ matrix.os }}-${{ matrix.toolchain }}
- name: Print dir sizes before
run: |
set -x
du -sh ~/.cargo
du -sh ~/.rustup
du -sh target || true
du -sh ~/.rustup/*
ls ~/.rustup/target -h || true
find target -maxdepth 3 | sort
run: ./ci/test-script.sh
- name: Execute build.sh
run: ./ci/verify-build.sh
- name: Print dir sizes after
run: |
set -x
du -sh ~/.cargo
du -sh ~/.rustup
du -sh target || true
du -sh ~/.rustup/*
ls ~/.rustup/target -h || true
find target -maxdepth 3 | sort
run: ./ci/test-script.sh

test_tier1:
name: Test tier1
Expand Down Expand Up @@ -112,29 +94,15 @@ jobs:
with:
key: ${{ matrix.target }}
- name: Print dir sizes before
run: |
set -x
du -sh ~/.cargo
du -sh ~/.rustup
du -sh target || true
du -sh ~/.rustup/*
ls ~/.rustup/target -h || true
find target -maxdepth 3 | sort
run: ./ci/test-script.sh
- name: Run natively
if: "!matrix.docker"
run: ./ci/run.sh ${{ matrix.target }}
- name: Run in Docker
if: "matrix.docker"
run: ./ci/run-docker.sh ${{ matrix.target }}
- name: Print dir sizes after
run: |
set -x
du -sh ~/.cargo
du -sh ~/.rustup
du -sh target || true
du -sh ~/.rustup/*
ls ~/.rustup/target -h || true
find target -maxdepth 3 | sort
run: ./ci/test-script.sh

test_tier2:
name: Test tier2
Expand Down Expand Up @@ -184,25 +152,10 @@ jobs:
with:
key: ${{ matrix.target }}
- name: Print dir sizes before
run: |
set -x
du -sh ~/.cargo
du -sh ~/.rustup
du -sh target || true
du -sh ~/.rustup/*
ls ~/.rustup/target -h || true
find target -maxdepth 3 | sort
- name: Execute run-docker.sh
run: ./ci/run-docker.sh ${{ matrix.target }}
- name: Print dir sizes after
run: |
set -x
du -sh ~/.cargo
du -sh ~/.rustup
du -sh target || true
du -sh ~/.rustup/*
ls ~/.rustup/target -h || true
find target -maxdepth 3 | sort
run: ./ci/test-script.sh

test_tier2_vm:
name: Test tier2 VM
Expand Down
10 changes: 10 additions & 0 deletions ci/test-script.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/sh

set -x
du -sh ~/.cargo
du -sh ~/.cargo/*
du -sh ~/.rustup
du -sh ~/.rustup/*
du -sh target || true
du -sh target/* || true
find target -maxdepth 3 | sort

0 comments on commit 447096a

Please sign in to comment.