forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 18
30 lines (29 loc) · 1.64 KB
/
build.yml
File metadata and controls
30 lines (29 loc) · 1.64 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
25
26
27
28
29
30
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 gcc-arm-linux-gnueabi binutils build-essential git flex bison libssl-dev bc axel libgmp-dev libmpc-dev jq
- run: echo "ROOTFS_LATEST_URL=`curl -sL https://api.github.com/repos/linux-3ds/buildroot/releases | jq -r '.[].assets[].browser_download_url'`" >> $GITHUB_ENV
- run: "axel ${ROOTFS_LATEST_URL}"
- run: "make nintendo3ds_defconfig all"
env:
ARCH: "arm"
CROSS_COMPILE: "arm-linux-gnueabi-"
- 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: |
arch/arm/boot/zImage
arch/arm/boot/dts/nintendo3ds_ctr.dtb
arch/arm/boot/dts/nintendo3ds_ktr.dtb