Skip to content
Closed
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
24 changes: 23 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ jobs:

- name: Check disk space (Before)
run: df -h /
if: always()

# Clear space on macOS runner which is prone to running out of space
- name: Free disk space
Expand All @@ -169,21 +170,33 @@ jobs:
continue-on-error: true
if: ${{ matrix.runner == 'macos-14' }}

- name: Check disk space (After)
- name: Check disk space (after MacOS freeing)
run: df -h /
if: always()

- name: Run Unit Tests
continue-on-error: true
run: |
make test-unit

- name: Check disk space (after unit tests)
run: df -h /
if: always()

- name: Run Integration Tests
continue-on-error: true
run: |
make test-integration
env:
SPIN_CONFORMANCE_TESTS_DOCKER_OPT_OUT: true
# Only run integration tests on macOS as they will be run on ubuntu separately
if: ${{ matrix.runner == 'macos-14' }}

- name: Check disk space (after integration tests)
run: df -h /
if: always()


all-integration-tests:
# run on a larger runner for more SSD/resource access
runs-on: ubuntu-22.04-4core-spin
Expand Down Expand Up @@ -302,6 +315,15 @@ jobs:
with:
openssl-windows: "${{ matrix.os == 'windows-latest' }}"

- name: Check disk space (before release build)
run: df -h /
if: always()

- name: build release
shell: bash
continue-on-error: true
run: cargo build --release ${{ matrix.config.extraArgs }}

- name: Check disk space (after release build)
run: df -h /
if: always()