Skip to content

Commit

Permalink
chore: update workflows for better storage handling
Browse files Browse the repository at this point in the history
  • Loading branch information
Revyn112 committed Nov 7, 2024
1 parent 5912335 commit a9b673e
Show file tree
Hide file tree
Showing 7 changed files with 101 additions and 112 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/a333x-development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,19 @@ jobs:
AIRCRAFT_PROJECT_PREFIX: a333x
AIRCRAFT_VARIANT: a330-343
steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
- name: Maximize build space
uses: AdityaGarg8/[email protected]
with:
tool-cache: false
android: true
dotnet: false
haskell: false
large-packages: false
docker-images: false
swap-storage: false
remove-android: 'true'
remove-dotnet: 'true'
remove-haskell: 'true'
remove-codeql: 'true'
remove-large-packages: 'true'
remove-cached-tools: 'true'
- name: Checkout source
uses: actions/checkout@v4
with:
submodules: recursive
submodules: true
lfs: false
- name: Set BUILT_DATE_TIME
run: echo "BUILT_DATE_TIME=$(date -u -Iseconds)" >> $GITHUB_ENV
Expand Down
19 changes: 9 additions & 10 deletions .github/workflows/a339x-development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,19 @@ jobs:
AIRCRAFT_PROJECT_PREFIX: a339x
AIRCRAFT_VARIANT: a330-941
steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
- name: Maximize build space
uses: AdityaGarg8/[email protected]
with:
tool-cache: false
android: true
dotnet: false
haskell: false
large-packages: false
docker-images: false
swap-storage: false
remove-android: 'true'
remove-dotnet: 'true'
remove-haskell: 'true'
remove-codeql: 'true'
remove-large-packages: 'true'
remove-cached-tools: 'true'
- name: Checkout source
uses: actions/checkout@v4
with:
submodules: recursive
submodules: true
lfs: true
- name: Set BUILT_DATE_TIME
run: echo "BUILT_DATE_TIME=$(date -u -Iseconds)" >> $GITHUB_ENV
Expand Down
19 changes: 9 additions & 10 deletions .github/workflows/a339x-experimental.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,19 @@ jobs:
AIRCRAFT_PROJECT_PREFIX: a339x
AIRCRAFT_VARIANT: a330-941
steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
- name: Maximize build space
uses: AdityaGarg8/[email protected]
with:
tool-cache: false
android: true
dotnet: false
haskell: false
large-packages: false
docker-images: false
swap-storage: false
remove-android: 'true'
remove-dotnet: 'true'
remove-haskell: 'true'
remove-codeql: 'true'
remove-large-packages: 'true'
remove-cached-tools: 'true'
- name: Checkout source
uses: actions/checkout@v4
with:
submodules: recursive
submodules: true
lfs: true
- name: Set BUILT_DATE_TIME
run: echo "BUILT_DATE_TIME=$(date -u -Iseconds)" >> $GITHUB_ENV
Expand Down
21 changes: 10 additions & 11 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,20 @@ jobs:
AIRCRAFT_PROJECT_PREFIX: a339x
AIRCRAFT_VARIANT: a330-941
steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
- name: Maximize build space
uses: AdityaGarg8/[email protected]
with:
tool-cache: false
android: true
dotnet: false
haskell: false
large-packages: false
docker-images: false
swap-storage: false
remove-android: 'true'
remove-dotnet: 'true'
remove-haskell: 'true'
remove-codeql: 'true'
remove-large-packages: 'true'
remove-cached-tools: 'true'
- name: Checkout source
uses: actions/checkout@v4
with:
submodules: recursive
lfs: false
submodules: true
lfs: true
- name: Set BUILT_DATE_TIME
run: echo "BUILT_DATE_TIME=$(date -u -Iseconds)" >> $GITHUB_ENV
- name: Create .env file
Expand Down
59 changes: 28 additions & 31 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,19 @@ jobs:
AIRCRAFT_PROJECT_PREFIX: a333x
AIRCRAFT_VARIANT: a330-343
steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
- name: Maximize build space
uses: AdityaGarg8/[email protected]
with:
tool-cache: false
android: true
dotnet: false
haskell: false
large-packages: false
docker-images: false
swap-storage: false
remove-android: 'true'
remove-dotnet: 'true'
remove-haskell: 'true'
remove-codeql: 'true'
remove-large-packages: 'true'
remove-cached-tools: 'true'
- name: Checkout source
uses: actions/checkout@v4
with:
submodules: recursive
submodules: true
lfs: false
- name: Create .env file
run: |
Expand Down Expand Up @@ -80,20 +79,19 @@ jobs:
AIRCRAFT_PROJECT_PREFIX: a339x
AIRCRAFT_VARIANT: a330-941
steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
- name: Maximize build space
uses: AdityaGarg8/[email protected]
with:
tool-cache: false
android: true
dotnet: false
haskell: false
large-packages: false
docker-images: false
swap-storage: false
remove-android: 'true'
remove-dotnet: 'true'
remove-haskell: 'true'
remove-codeql: 'true'
remove-large-packages: 'true'
remove-cached-tools: 'true'
- name: Checkout source
uses: actions/checkout@v4
with:
submodules: recursive
submodules: true
lfs: true
- name: Create .env file
run: |
Expand Down Expand Up @@ -140,21 +138,20 @@ jobs:
AIRCRAFT_PROJECT_PREFIX: su95x
AIRCRAFT_VARIANT: su100-95
steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
- name: Maximize build space
uses: AdityaGarg8/[email protected]
with:
tool-cache: false
android: true
dotnet: false
haskell: false
large-packages: false
docker-images: false
swap-storage: false
remove-android: 'true'
remove-dotnet: 'true'
remove-haskell: 'true'
remove-codeql: 'true'
remove-large-packages: 'true'
remove-cached-tools: 'true'
- name: Checkout source
uses: actions/checkout@v4
with:
submodules: recursive
lfs: false
submodules: true
lfs: true
- name: Create .env file
run: |
echo A32NX_PRODUCTION_BUILD=1 >> hdw-su95x/.env
Expand Down
57 changes: 27 additions & 30 deletions .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,19 @@ jobs:
AIRCRAFT_PROJECT_PREFIX: a333x
AIRCRAFT_VARIANT: a330-343
steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
- name: Maximize build space
uses: AdityaGarg8/[email protected]
with:
tool-cache: false
android: true
dotnet: false
haskell: false
large-packages: false
docker-images: false
swap-storage: false
remove-android: 'true'
remove-dotnet: 'true'
remove-haskell: 'true'
remove-codeql: 'true'
remove-large-packages: 'true'
remove-cached-tools: 'true'
- name: Checkout source
uses: actions/checkout@v4
with:
submodules: recursive
submodules: true
lfs: false
- name: Set BUILT_DATE_TIME
run: echo "BUILT_DATE_TIME=$(date -u -Iseconds)" >> $GITHUB_ENV
Expand Down Expand Up @@ -82,20 +81,19 @@ jobs:
AIRCRAFT_PROJECT_PREFIX: a339x
AIRCRAFT_VARIANT: a330-941
steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
- name: Maximize build space
uses: AdityaGarg8/[email protected]
with:
tool-cache: false
android: true
dotnet: false
haskell: false
large-packages: false
docker-images: false
swap-storage: false
remove-android: 'true'
remove-dotnet: 'true'
remove-haskell: 'true'
remove-codeql: 'true'
remove-large-packages: 'true'
remove-cached-tools: 'true'
- name: Checkout source
uses: actions/checkout@v4
with:
submodules: recursive
submodules: true
lfs: true
- name: Set BUILT_DATE_TIME
run: echo "BUILT_DATE_TIME=$(date -u -Iseconds)" >> $GITHUB_ENV
Expand Down Expand Up @@ -144,20 +142,19 @@ jobs:
AIRCRAFT_PROJECT_PREFIX: su95x
AIRCRAFT_VARIANT: su100-95
steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
- name: Maximize build space
uses: AdityaGarg8/[email protected]
with:
tool-cache: false
android: true
dotnet: false
haskell: false
large-packages: false
docker-images: false
swap-storage: false
remove-android: 'true'
remove-dotnet: 'true'
remove-haskell: 'true'
remove-codeql: 'true'
remove-large-packages: 'true'
remove-cached-tools: 'true'
- name: Checkout source
uses: actions/checkout@v4
with:
submodules: recursive
submodules: true
lfs: false
- name: Set BUILT_DATE_TIME
run: echo "BUILT_DATE_TIME=$(date -u -Iseconds)" >> $GITHUB_ENV
Expand Down
19 changes: 9 additions & 10 deletions .github/workflows/su95x-development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,19 @@ jobs:
AIRCRAFT_PROJECT_PREFIX: su95x
AIRCRAFT_VARIANT: su100-95
steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
- name: Maximize build space
uses: AdityaGarg8/[email protected]
with:
tool-cache: false
android: true
dotnet: false
haskell: false
large-packages: false
docker-images: false
swap-storage: false
remove-android: 'true'
remove-dotnet: 'true'
remove-haskell: 'true'
remove-codeql: 'true'
remove-large-packages: 'true'
remove-cached-tools: 'true'
- name: Checkout source
uses: actions/checkout@v4
with:
submodules: recursive
submodules: true
lfs: false
- name: Set BUILT_DATE_TIME
run: echo "BUILT_DATE_TIME=$(date -u -Iseconds)" >> $GITHUB_ENV
Expand Down

0 comments on commit a9b673e

Please sign in to comment.