From 49906f445e4c0035ed5bed26bf2a088edafff02f Mon Sep 17 00:00:00 2001 From: enderice2 Date: Tue, 28 Jan 2025 12:48:04 +0200 Subject: [PATCH] gyatt Signed-off-by: enderice2 --- .gitea/workflows/cache.yml | 50 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 .gitea/workflows/cache.yml diff --git a/.gitea/workflows/cache.yml b/.gitea/workflows/cache.yml new file mode 100644 index 0000000..34c6303 --- /dev/null +++ b/.gitea/workflows/cache.yml @@ -0,0 +1,50 @@ +name: Build OS + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + buildcompiler: + name: Build Cross-Compiler & Toolchain + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + submodules: recursive + + - name: Cache cross Folder + id: cache-cross + uses: actions/cache@v4 + with: + path: gyatt + key: ${{ runner.os }}-cross-${{ hashFiles('gyatt') }} + + - name: Update System + if: steps.cache-cross.outputs.cache-hit != 'true' + run: echo nice! + + compile_amd64: + name: Build amd64 + runs-on: ubuntu-latest + needs: [buildcompiler] + steps: + - uses: actions/checkout@v4 + with: + submodules: recursive + + - name: Cache cross Folder + id: cache-cross + uses: actions/cache@v4 + with: + path: gyatt + key: ${{ runner.os }}-cross-${{ hashFiles('tools/Makefile') }} + + - name: Upload Artifact + uses: actions/upload-artifact@v4 + with: + name: gyatt + path: gyatt +