blob: 4de8a9559d1c76985081bad006484f4d81470ee5 (
plain)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
image: debian/stable
sources:
- https://git.sr.ht/~aparcar/openwrt
environment:
TARGET: "mediatek/mt7622"
packages:
- build-essential
- curl
- file
- gawk
- gettext
- git
- libncurses-dev
- libssl-dev
- python3
- rsync
- subversion
- swig
- unzip
- wget
- zlib1g-dev
artifacts:
- ./openwrt/bin/
tasks:
- setup: |
cd openwrt
make defconfig
make prereq
- update_packages: |
cd openwrt
./scripts/feeds update
./scripts/feeds install -a
- configuration: |
cd openwrt
curl "https://downloads.openwrt.org/snapshots/targets/$TARGET/config.buildinfo" > .config
make defconfig
- build: |
cd openwrt
make -j $(nproc)
|