test/.gitea/workflows/cache.yml
enderice2 1009851d64
Some checks failed
Build OS / Build Cross-Compiler & Toolchain (push) Successful in 26s
Build OS / Build amd64 (push) Successful in 1m0s
test / test (push) Successful in 46s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1m9s
C/C++ CI / ubuntu-build (push) Failing after 53s
Update .gitea/workflows/cache.yml
Signed-off-by: enderice2 <enderice2@protonmail.com>
2025-01-28 13:34:27 +02:00

47 lines
977 B
YAML

name: Build OS
on: [push]
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: gyatto
key: ${{ runner.os }}-cross-${{ hashFiles('tools/Makefile') }}
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: gyatto
path: gyatto