From 0f9ac971bc3afaf068533a690e8076a4cd80b1cc Mon Sep 17 00:00:00 2001 From: SergioMartin86 Date: Sun, 28 Apr 2024 10:48:00 +0200 Subject: [PATCH] Precompiling waterbox and archiving it for individual core compilation --- .github/workflows/make.yml | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/.github/workflows/make.yml b/.github/workflows/make.yml index c2a7775c2ab..e6f3155b627 100644 --- a/.github/workflows/make.yml +++ b/.github/workflows/make.yml @@ -40,6 +40,24 @@ jobs: - name: Building nyma working-directory: ./waterbox/nyma run: ./build-and-install-zlib.sh - - name: Building all waterboxed cores - working-directory: ./waterbox - run: INCLUDE_MAME=1 ./make-all-cores.sh \ No newline at end of file + - name: Uploading compiled waterbox + uses: actions/upload-artifact@v4 + with: + name: compiled-waterbox + path: | + waterbox/libco/obj + waterbox/musl/obj + waterbox/emulibc/obj + waterbox/libcxx/build* + waterbox/sysroot + + build-gpgx: + runs-on: ubuntu-latest + steps: + - name: Download compiled waterbox + uses: actions/download-artifact@v4 + with: + name: compiled-waterbox + - name: Building GPGX core + working-directory: ./waterbox/gpgx + run: make -j${nproc} \ No newline at end of file