Added Gitea Actions
Some checks failed
Build Gluon / changed (push) Failing after 1s
Build Gluon / build_firmware (push) Has been skipped
continuous-integration/drone/push Build is failing

This commit is contained in:
Stefan Hoffmann 2023-05-18 16:19:49 +02:00
parent c8e3aea27b
commit aa4a536f8c
Signed by: stefan
GPG Key ID: 8EFC7042BF8D5CDD

42
.gitea/workflows/test.yml Normal file
View File

@ -0,0 +1,42 @@
name: Build Gluon
on:
push:
pull_request:
types: [opened, synchronize, reopened]
jobs:
changed:
runs-on: ubuntu-latest
outputs:
targets: ath79-generic
build_firmware:
needs: changed
strategy:
fail-fast: false
matrix:
# Read back changd targets to create build matrix
target: ath79-generic
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
submodules: true
- name: Install Dependencies
run: sudo gluon/contrib/actions/install-dependencies.sh
- name: Build
run: gluon/contrib/actions/run-build.sh ${{ matrix.target }}
- name: Archive build logs
if: ${{ !cancelled() }}
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.target }}_logs
path: openwrt/logs
- name: Archive build output
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.target }}_output
path: output