Skip to content

Commit

Permalink
try to add arm64 for linux
Browse files Browse the repository at this point in the history
  • Loading branch information
quintenvandamme committed Jun 28, 2024
1 parent cc12d8b commit a90922f
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,25 +34,37 @@ jobs:

Linux_aarch64:
runs-on: ubuntu-latest
package-suffix: linux-aarch64


steps:
- uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
with:
platforms: arm64

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Build in ARM64 Environment
run: |
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
docker build --platform linux/arm64 -t tv-downloader:latest .
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
check-latest: true

- name: Build TV Downloader
run: python build.py build
run: docker run --rm -v $(pwd):/workspace -w /workspace tv-downloader:latest python build.py build

- name: Upload Binary
uses: ncipollo/release-action@v1
with:
artifacts: "./out/*"
allowUpdates: true
tag: "continious-build"
tag: "continuous-build"

Windows_x86_64:
runs-on: windows-latest
Expand Down

0 comments on commit a90922f

Please sign in to comment.