gluon-ci/.gitea/workflows/test.yml
Stefan a0833007d3
Some checks failed
Build Gluon / build_firmware (push) Failing after 7s
Install Apt
2023-05-18 17:23:16 +02:00

43 lines
1.1 KiB
YAML

name: Build Gluon
on:
push:
pull_request:
types: [opened, synchronize, reopened]
jobs:
build_firmware:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: switch image
uses: ubuntu/ubuntu@latest
- name: Install missing PUB Key
run: apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3B4FE6ACC0B21F32
- name: Update APT Repos
run: apt-get -y update
- name: Install dependencies
run: apt-get -y install git subversion build-essential python3 gawk unzip libncurses5-dev zlib1g-dev libssl-dev wget time qemu-utils
- name: Build
run: contrib/actions/run-build.sh mediatek-mt7622
working-directory: gluon
- name: Archive build logs
if: ${{ !cancelled() }}
uses: actions/upload-artifact@v3
with:
name: mediatek-mt7622_logs
path: openwrt/logs
- name: Archive build output
uses: actions/upload-artifact@v3
with:
name: mediatek-mt7622_output
path: output