Compare commits
15 Commits
Author | SHA1 | Date | |
---|---|---|---|
914f266650 | |||
1009851d64 | |||
d8126682bf | |||
49906f445e | |||
5936b0217a | |||
123b9ace8f | |||
bcafedf011 | |||
16fadd37e9 | |||
|
37223045c9 | ||
|
a14f86dbdd | ||
|
d581e649c0 | ||
|
f251feb046 | ||
|
4fd4157677 | ||
|
bbbffff9ac | ||
|
73e4b3705a |
46
.gitea/workflows/cache.yml
Normal file
46
.gitea/workflows/cache.yml
Normal file
@ -0,0 +1,46 @@
|
||||
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('gyatt') }}
|
||||
|
||||
- name: Upload Artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: gyatto
|
||||
path: gyatto
|
||||
|
16
.gitea/workflows/cpp.yml
Normal file
16
.gitea/workflows/cpp.yml
Normal file
@ -0,0 +1,16 @@
|
||||
name: C/C++ CI
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
ubuntu-build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- name: Build project
|
||||
uses: nicledomaS/cmake_build_action@v1.4
|
||||
with:
|
||||
submodule_update: ON
|
||||
run_tests: ON
|
||||
unit_test_build: -Dtest=ON
|
19
.gitea/workflows/demo.yaml
Normal file
19
.gitea/workflows/demo.yaml
Normal file
@ -0,0 +1,19 @@
|
||||
name: Gitea Actions Demo
|
||||
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
Explore-Gitea-Actions:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
|
||||
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
|
||||
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v4
|
||||
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
|
||||
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
|
||||
- name: List files in the repository
|
||||
run: |
|
||||
ls ${{ gitea.workspace }}
|
||||
- run: echo "🍏 This job's status is ${{ job.status }}."
|
13
.gitea/workflows/test.yml
Normal file
13
.gitea/workflows/test.yml
Normal file
@ -0,0 +1,13 @@
|
||||
name: test
|
||||
on:
|
||||
- push
|
||||
- pull_request
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
name: test
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: test
|
||||
run: echo Hello World!
|
Loading…
x
Reference in New Issue
Block a user