proper arm
This commit is contained in:
parent
4818ea8e26
commit
3cb7f8d667
1 changed files with 17 additions and 7 deletions
24
.github/workflows/release.yaml
vendored
24
.github/workflows/release.yaml
vendored
|
|
@ -74,19 +74,29 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
arch: [armv6l, armv7l, aarch64]
|
||||||
include:
|
include:
|
||||||
- arm-image: "raspi_2_bullseye:20230102"
|
- arch: armv6l
|
||||||
package-suffix: "_armv7"
|
cpu: arm1176
|
||||||
- arm-image: "raspi_4_bullseye:20230102"
|
base_image: raspios_lite:latest
|
||||||
package-suffix: "_aarch64"
|
cpu_info: raspberrypi_zero_w
|
||||||
|
- arch: armv7l
|
||||||
|
cpu: cortex-a7
|
||||||
|
base_image: raspios_lite:latest
|
||||||
|
cpu_info: raspberrypi_3b
|
||||||
|
- arch: aarch64
|
||||||
|
cpu: cortex-a53
|
||||||
|
base_image: raspios_lite_arm64:latest
|
||||||
|
cpu_info: raspberrypi_zero2_w_arm64_w
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: pguyot/arm-runner-action@v2
|
- uses: pguyot/arm-runner-action@v2
|
||||||
id: build_image
|
|
||||||
with:
|
with:
|
||||||
base_image: ${{ matrix.arm-image }}
|
base_image: ${{ matrix.base_image }}
|
||||||
|
cpu: ${{ matrix.cpu }}
|
||||||
|
cpu_info: ${{ matrix.cpu_info }}
|
||||||
commands: |
|
commands: |
|
||||||
sudo apt-get -y install zip
|
apt-get -y install zip
|
||||||
pip install -e .[build]
|
pip install -e .[build]
|
||||||
EXEC_SUFFIX=${{ matrix.package-suffix }} make executable
|
EXEC_SUFFIX=${{ matrix.package-suffix }} make executable
|
||||||
zip dist/ytdl-sub${{ matrix.package-suffix }}.zip dist/ytdl-sub${{ matrix.package-suffix }}
|
zip dist/ytdl-sub${{ matrix.package-suffix }}.zip dist/ytdl-sub${{ matrix.package-suffix }}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue