forked from buildroot/buildroot
-
Notifications
You must be signed in to change notification settings - Fork 12
24 lines (23 loc) · 1.27 KB
/
Copy pathbuild.yml
File metadata and controls
24 lines (23 loc) · 1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
name: "build"
on:
push:
branches:
- master
jobs:
build:
runs-on: "ubuntu-20.04"
steps:
- uses: "actions/checkout@v2"
- run: echo "SHORT_SHA=`echo ${GITHUB_SHA} | cut -c1-7`" >> $GITHUB_ENV
- run: |
sudo apt-get update && sudo apt-get install -y binutils build-essential git flex bison libssl-dev bc libgmp-dev libmpc-dev
- run: "make nintendo3ds_defconfig"
- run: "make all"
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
title: "Development build ${{ env.SHORT_SHA }}"
files: |
output/images/rootfs.cpio.gz