Skip to content

Commit

Permalink
workflows - remove tools to save space on gh actions (#1075)
Browse files Browse the repository at this point in the history
  • Loading branch information
d10sfan authored Feb 15, 2024
1 parent 1d3cf4d commit f7f713e
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 3 deletions.
15 changes: 14 additions & 1 deletion .github/workflows/build_engine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,23 @@ jobs:
needs: findengine
outputs:
app_ids: ${{env.APP_IDS }}
container: ${{ needs.findengine.outputs.container }}
container:
image: ${{ needs.findengine.outputs.container }}
volumes:
- /usr/share/dotnet:/gh/dotnet
- /opt/ghc:/gh/ghc
- /usr/local/share/boost:/gh/boost
- /usr/local/lib/android:/gh/android
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Cleanup GH Environment
run: |
sudo rm -rf /gh/dotnet/*
sudo rm -rf /gh/ghc/*
sudo rm -rf /gh/boost/*
sudo rm -rf /gh/android/*
df -h
- name: Build
run: ./common/start_build.sh ${{needs.findengine.outputs.engine}}
- name: Package
Expand Down
16 changes: 15 additions & 1 deletion .github/workflows/test_engine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,24 @@ jobs:
build:
runs-on: ubuntu-latest
needs: findengine
container: ${{ needs.findengine.outputs.container }}
container:
image: ${{ needs.findengine.outputs.container }}
volumes:
- /usr/share/dotnet:/gh/dotnet
- /opt/ghc:/gh/ghc
- /usr/local/share/boost:/gh/boost
- /usr/local/lib/android:/gh/android
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Cleanup GH Environment
run: |
df -h
sudo rm -rf /gh/dotnet/*
sudo rm -rf /gh/ghc/*
sudo rm -rf /gh/boost/*
sudo rm -rf /gh/android/*
df -h
- name: Build
run: ./common/start_build.sh ${{needs.findengine.outputs.engine}}
- name: Package
Expand Down
1 change: 0 additions & 1 deletion engines/doom-runner/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,4 @@ popd

# COPY PHASE
cp -rfv source/build/DoomRunner "$diststart/common/dist"

cp -rfv "assets"/* "$diststart/common/dist"

0 comments on commit f7f713e

Please sign in to comment.