Add ARMv6 release target (#1715)

This commit is contained in:
Renjaya Raga Zenta 2023-10-31 00:22:51 +07:00 committed by GitHub
parent 64d7d07185
commit e83b69135a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,6 +16,7 @@ jobs:
target: target:
- aarch64-apple-darwin - aarch64-apple-darwin
- aarch64-unknown-linux-musl - aarch64-unknown-linux-musl
- arm-unknown-linux-musleabihf
- armv7-unknown-linux-musleabihf - armv7-unknown-linux-musleabihf
- x86_64-apple-darwin - x86_64-apple-darwin
- x86_64-pc-windows-msvc - x86_64-pc-windows-msvc
@ -27,6 +28,9 @@ jobs:
- target: aarch64-unknown-linux-musl - target: aarch64-unknown-linux-musl
os: ubuntu-latest os: ubuntu-latest
target_rustflags: '--codegen linker=aarch64-linux-gnu-gcc' target_rustflags: '--codegen linker=aarch64-linux-gnu-gcc'
- target: arm-unknown-linux-musleabihf
os: ubuntu-latest
target_rustflags: '--codegen linker=arm-linux-gnueabihf-gcc'
- target: armv7-unknown-linux-musleabihf - target: armv7-unknown-linux-musleabihf
os: ubuntu-latest os: ubuntu-latest
target_rustflags: '--codegen linker=arm-linux-gnueabihf-gcc' target_rustflags: '--codegen linker=arm-linux-gnueabihf-gcc'
@ -58,8 +62,8 @@ jobs:
sudo apt-get update sudo apt-get update
sudo apt-get install gcc-aarch64-linux-gnu sudo apt-get install gcc-aarch64-linux-gnu
- name: Install ARM7 Toolchain - name: Install ARM Toolchain
if: ${{ matrix.target == 'armv7-unknown-linux-musleabihf' }} if: ${{ matrix.target == 'arm-unknown-linux-musleabihf' || matrix.target == 'armv7-unknown-linux-musleabihf' }}
run: | run: |
sudo apt-get update sudo apt-get update
sudo apt-get install gcc-arm-linux-gnueabihf sudo apt-get install gcc-arm-linux-gnueabihf