mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 06:16:30 +03:00
Add some static OpenWrt builds
This commit is contained in:
parent
0bf7f2f740
commit
48408e30d9
16
.github/workflows/build.yml
vendored
16
.github/workflows/build.yml
vendored
@ -355,6 +355,10 @@ jobs:
|
|||||||
openwrt: 'target=sunxi subtarget=cortexa53'
|
openwrt: 'target=sunxi subtarget=cortexa53'
|
||||||
target_cpu: arm64
|
target_cpu: arm64
|
||||||
extra: 'arm_version=0 arm_cpu="cortex-a53"'
|
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
|
- arch: aarch64_cortex-a72
|
||||||
openwrt: 'target=mvebu subtarget=cortexa72'
|
openwrt: 'target=mvebu subtarget=cortexa72'
|
||||||
target_cpu: arm64
|
target_cpu: arm64
|
||||||
@ -370,6 +374,10 @@ jobs:
|
|||||||
openwrt: 'target=sunxi subtarget=cortexa7'
|
openwrt: 'target=sunxi subtarget=cortexa7'
|
||||||
target_cpu: arm
|
target_cpu: arm
|
||||||
extra: 'arm_version=0 arm_cpu="cortex-a7" arm_fpu="neon-vfpv4" arm_float_abi="hard" arm_use_neon=true'
|
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
|
- arch: arm_cortex-a8_neon
|
||||||
openwrt: 'target=samsung subtarget=s5pv210'
|
openwrt: 'target=samsung subtarget=s5pv210'
|
||||||
target_cpu: arm
|
target_cpu: arm
|
||||||
@ -382,6 +390,10 @@ jobs:
|
|||||||
openwrt: 'target=bcm53xx'
|
openwrt: 'target=bcm53xx'
|
||||||
target_cpu: arm
|
target_cpu: arm
|
||||||
extra: 'arm_version=0 arm_cpu="cortex-a9" arm_float_abi="soft" arm_use_neon=false'
|
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
|
- arch: arm_cortex-a9_neon
|
||||||
openwrt: 'target=imx6'
|
openwrt: 'target=imx6'
|
||||||
target_cpu: arm
|
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'
|
extra: 'mips_arch_variant="r1" mips_float_abi="soft" use_lld=false use_gold=false use_thin_lto=false'
|
||||||
env:
|
env:
|
||||||
EXTRA_FLAGS: target_cpu="${{ matrix.target_cpu }}" target_os="openwrt" use_allocator="none" use_allocator_shim=false ${{ matrix.extra }}
|
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 }}
|
BUNDLE: naiveproxy-${{ github.event.release.tag_name }}-${{ github.job }}-${{ matrix.arch }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
@ -428,7 +440,7 @@ jobs:
|
|||||||
uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: src/out/sysroot-build/openwrt
|
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
|
- id: ccache-timestamp
|
||||||
run: echo "::set-output name=date::$(date +%s)"
|
run: echo "::set-output name=date::$(date +%s)"
|
||||||
- name: Cache ccache files
|
- name: Cache ccache files
|
||||||
|
Loading…
Reference in New Issue
Block a user