Skip to content

Commit

Permalink
ci: Increase free space in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
hypery2k committed Oct 29, 2022
1 parent 9f93704 commit e278e58
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,22 @@ on:

jobs:
build:
name: Test on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
name: Build Docker
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Docker build and test
run: |
.bin/build-image.sh
.bin/test-image.sh
# Workaround to provide additional free space for testing.
# https://github.com/actions/virtual-environments/issues/2840
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
.bin/build-image.sh
.bin/test-image.sh
deploy:
needs: [build]
Expand Down

0 comments on commit e278e58

Please sign in to comment.