diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bebcf98..2a33b69 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,10 +15,7 @@ concurrency: group: ci-${{ github.ref }} cancel-in-progress: true -jobs: - tests: - uses: ./.github/workflows/tests.yml - secrets: inherit - lint: - uses: ./.github/workflows/lint.yml - secrets: inherit +# jobs: +# lint: +# uses: ./.github/workflows/lint.yml +# secrets: inherit diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7515766..e54e25c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,18 +12,27 @@ jobs: build-release: name: Build artifacts runs-on: ubuntu-latest - container: - image: docker.io/batonogov/pyinstaller-linux:latest steps: - name: Check out the repo uses: actions/checkout@v2 + - name: Set up QEMU + uses: docker/setup-qemu-action@v2 + with: + platforms: arm64 + - name: Build package + with: + image: docker.io/batonogov/pyinstaller-linux:latest + options: | + --platform linux/arm64 + --volume ${{ github.workspace }}/:/src + run: | + pyinstaller --onefile /src/app.py + + + - name: Bundle App run: | - echo "Creating Linux artifact" - apt-get update && apt-get install -y zip - pip install -r ./requirements.txt - pyinstaller --onefile ./src/app.py mkdir -p .artie && \ cp -r ./dist/app ./assets ./config.json .artie zip -r Artie.zip .artie ./Artie\ Scraper.sh