Skip to content

Commit

Permalink
Make github actions pass
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Leonard <anleonar@redhat.com>
  • Loading branch information
andrew-m-leonard committed Feb 15, 2024
1 parent b8d2bef commit c2227e7
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,20 @@ jobs:
variant: bisheng
image: adoptopenjdk/centos7_build_image
steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master
with:
root-reserve-mb: 512
swap-size-mb: 1024
remove-dotnet: 'true'

- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0

- name: Check disk space
run: |
echo "Free disk space:"
df -h
- name: Build Linux
run: ./build-farm/make-adopt-build-farm.sh
env:
Expand Down Expand Up @@ -121,8 +133,20 @@ jobs:
variant: [temurin]

steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master
with:
root-reserve-mb: 512
swap-size-mb: 1024
remove-dotnet: 'true'

- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0

- name: Check disk space
run: |
echo "Free disk space:"
df -h
# https://github.com/actions/runner-images/issues/6817
- name: (Mac) Workaround for homebrew
shell: bash
Expand Down Expand Up @@ -228,6 +252,18 @@ jobs:
VS2019_URL: "https://download.visualstudio.microsoft.com/download/pr/6b655578-de8c-4862-ad77-65044ca714cf/f29399a618bd3a8d1dcc96d349453f686b6176590d904308402a6402543e310b/vs_Community.exe"

steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master
with:
root-reserve-mb: 512
swap-size-mb: 1024
remove-dotnet: 'true'

- name: Check disk space
run: |
echo "Free disk space:"
df -h
- name: Restore cygwin packages from cache
id: cygwin
uses: actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c # v3.3.3
Expand Down

0 comments on commit c2227e7

Please sign in to comment.