Add some static OpenWrt builds

This commit is contained in:
klzgrad 2021-08-26 01:26:33 +08:00
parent 0bf7f2f740
commit 48408e30d9

View File

@ -355,6 +355,10 @@ jobs:
openwrt: 'target=sunxi subtarget=cortexa53'
target_cpu: arm64
extra: 'arm_version=0 arm_cpu="cortex-a53"'
- arch: aarch64_cortex-a53-static
openwrt: 'target=sunxi subtarget=cortexa53'
target_cpu: arm64
extra: 'arm_version=0 arm_cpu="cortex-a53" build_static=true'
- arch: aarch64_cortex-a72
openwrt: 'target=mvebu subtarget=cortexa72'
target_cpu: arm64
@ -370,6 +374,10 @@ jobs:
openwrt: 'target=sunxi subtarget=cortexa7'
target_cpu: arm
extra: 'arm_version=0 arm_cpu="cortex-a7" arm_fpu="neon-vfpv4" arm_float_abi="hard" arm_use_neon=true'
- arch: arm_cortex-a7_neon-vfpv4-static
openwrt: 'target=sunxi subtarget=cortexa7'
target_cpu: arm
extra: 'arm_version=0 arm_cpu="cortex-a7" arm_fpu="neon-vfpv4" arm_float_abi="hard" arm_use_neon=true build_static=true'
- arch: arm_cortex-a8_neon
openwrt: 'target=samsung subtarget=s5pv210'
target_cpu: arm
@ -382,6 +390,10 @@ jobs:
openwrt: 'target=bcm53xx'
target_cpu: arm
extra: 'arm_version=0 arm_cpu="cortex-a9" arm_float_abi="soft" arm_use_neon=false'
- arch: arm_cortex-a9-static
openwrt: 'target=bcm53xx'
target_cpu: arm
extra: 'arm_version=0 arm_cpu="cortex-a9" arm_float_abi="soft" arm_use_neon=false build_static=true'
- arch: arm_cortex-a9_neon
openwrt: 'target=imx6'
target_cpu: arm
@ -408,7 +420,7 @@ jobs:
extra: 'mips_arch_variant="r1" mips_float_abi="soft" use_lld=false use_gold=false use_thin_lto=false'
env:
EXTRA_FLAGS: target_cpu="${{ matrix.target_cpu }}" target_os="openwrt" use_allocator="none" use_allocator_shim=false ${{ matrix.extra }}
OPENWRT_FLAGS: arch=${{ matrix.arch }} release=19.07.7 gcc_ver=7.5.0 ${{ matrix.openwrt }}
OPENWRT_FLAGS: arch=${{ matrix.arch }} release=19.07.8 gcc_ver=7.5.0 ${{ matrix.openwrt }}
BUNDLE: naiveproxy-${{ github.event.release.tag_name }}-${{ github.job }}-${{ matrix.arch }}
steps:
- uses: actions/checkout@v2
@ -428,7 +440,7 @@ jobs:
uses: actions/cache@v2
with:
path: src/out/sysroot-build/openwrt
key: sysroot-openwrt-19.07.7-${{ matrix.arch }}-v${{ env.CACHE_EPOCH }}
key: sysroot-openwrt-19.07.8-${{ matrix.arch }}-v${{ env.CACHE_EPOCH }}
- id: ccache-timestamp
run: echo "::set-output name=date::$(date +%s)"
- name: Cache ccache files