Skip to content

Commit

Permalink
fix: provide more space on runner (flybywiresim#8250)
Browse files Browse the repository at this point in the history
  • Loading branch information
Saschl authored Oct 13, 2023
1 parent ba151e1 commit c3755f7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,13 @@ jobs:
./scripts/dev-env/run.sh ./scripts/setup.sh --clean
./scripts/dev-env/run.sh ./scripts/build_a32nx.sh --no-tty -j 4
rm -rf fbw-a32nx/src
docker system prune -af
- name: Build ZIP files
run: |
df -h
./scripts/dev-env/run.sh node ./scripts/fragment_a32nx.js
node ./scripts/fragment_a32nx.js
cp ./fbw-a32nx/out/build-modules/modules.json ./fbw-a32nx/out/flybywire-aircraft-a320-neo/install.json
./scripts/dev-env/run.sh node ./scripts/install-source_a32nx.js
node ./scripts/install-source_a32nx.js
mkdir ./${{ env.BUILD_DIR_NAME }}
cd ./fbw-a32nx/out/
zip -r ../../${{ env.BUILD_DIR_NAME }}/${{ env.MASTER_ZIP_NAME }} ./flybywire-aircraft-a320-neo/
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,14 @@ jobs:
./scripts/dev-env/run.sh ./scripts/setup.sh --clean
./scripts/dev-env/run.sh ./scripts/build.sh --no-tty -j 4
rm -rf fbw-a32nx/src
docker system prune -af
- name: Generate install.json
if: github.event.pull_request.auto_merge == false
run: |
df -h
./scripts/dev-env/run.sh node ./scripts/fragment_a32nx.js
node ./scripts/fragment_a32nx.js
cp ./fbw-a32nx/out/build-modules/modules.json ./fbw-a32nx/out/flybywire-aircraft-a320-neo/install.json
./scripts/dev-env/run.sh node ./scripts/install-source_a32nx.js
node ./scripts/install-source_a32nx.js
- name: Upload PR artifact
uses: actions/upload-artifact@v2
if: github.event.pull_request.auto_merge == false
Expand Down

0 comments on commit c3755f7

Please sign in to comment.