mirror of
https://github.com/ntop/n2n.git
synced 2024-09-19 00:21:11 +02:00
Use caching to try to speed up openwrt builds. Build openwrt statically
This commit is contained in:
parent
c824c5d2cd
commit
731be7e257
9
.github/workflows/tests.yml
vendored
9
.github/workflows/tests.yml
vendored
|
@ -415,10 +415,13 @@ jobs:
|
|||
matrix:
|
||||
include:
|
||||
- name: mips_24kc
|
||||
sdk_ver: 22.03.3
|
||||
sdk: https://downloads.openwrt.org/releases/22.03.3/targets/lantiq/xrx200/openwrt-sdk-22.03.3-lantiq-xrx200_gcc-11.2.0_musl.Linux-x86_64.tar.xz
|
||||
- name: i386_pentium4
|
||||
sdk_ver: 22.03.3
|
||||
sdk: https://downloads.openwrt.org/releases/22.03.3/targets/x86/generic/openwrt-sdk-22.03.3-x86-generic_gcc-11.2.0_musl.Linux-x86_64.tar.xz
|
||||
- name: x86_64
|
||||
sdk_ver: 22.03.3
|
||||
sdk: https://downloads.openwrt.org/releases/22.03.3/targets/x86/64/openwrt-sdk-22.03.3-x86-64_gcc-11.2.0_musl.Linux-x86_64.tar.xz
|
||||
|
||||
defaults:
|
||||
|
@ -444,6 +447,12 @@ jobs:
|
|||
git fetch --force --tags
|
||||
working-directory: n2n
|
||||
|
||||
- name: Cache openwrt bin
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: bin
|
||||
key: openwrt-bin-${{ matrix.sdk_ver }}
|
||||
|
||||
- name: Copy n2n package definition into openwrt
|
||||
run: |
|
||||
cp -r n2n/packages/openwrt openwrt/package/n2n
|
||||
|
|
|
@ -67,7 +67,7 @@ endef
|
|||
define Build/Configure
|
||||
( cd $(PKG_BUILD_DIR); \
|
||||
./autogen.sh; \
|
||||
./configure )
|
||||
LDFLAGS=--static ./configure )
|
||||
endef
|
||||
|
||||
define Package/n2n-edge/conffiles
|
||||
|
|
Loading…
Reference in New Issue
Block a user