diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml index c2e1e540..3c850f07 100644 --- a/.github/workflows/compile.yml +++ b/.github/workflows/compile.yml @@ -19,7 +19,12 @@ jobs: - name: Fetch Dependencies run: pacman -S --noconfirm unzip make git mingw-w64-i686-gcc mingw-w64-x86_64-gcc mingw-w64-i686-glew mingw-w64-x86_64-glew mingw-w64-i686-SDL2 mingw-w64-i686-SDL mingw-w64-x86_64-SDL2 mingw-w64-x86_64-SDL python3 mingw-w64-x86_64-curl mingw-w64-x86_64-jsoncpp - name: Build - run: make + run: | + make + cd build/us_pc + rm -rf textures text src sound lib levels include data bin assets actors res + rm -f level_rules.mk + cd ../../ - name: Upload Artifacts uses: actions/upload-artifact@v4 with: @@ -34,11 +39,16 @@ jobs: steps: - uses: actions/checkout@v3 - name: Fetch Dependencies - run: sudo apt install build-essential git python3 libglew-dev libsdl2-dev curl libcurl4-gnutls-dev libjsoncpp-dev + run: sudo apt install -y build-essential git python3 libglew-dev libsdl2-dev curl libcurl4-gnutls-dev libjsoncpp-dev - name: Build - run: make + run: | + make + cd build/us_pc + rm -rf textures text src sound lib levels include data bin assets actors res + rm -f level_rules.mk + cd ../../ - name: Upload Artifacts uses: actions/upload-artifact@v4 with: name: saturn-${{ github.run_number }}-${{ github.job }} - path: /home/runner/work/Saturn/Saturn/build/us_pc + path: /home/runner/work/Saturn/Saturn/build/us_pc \ No newline at end of file