Skip to content

Commit

Permalink
🛩️ Try buildjet aarch64 Linux runners
Browse files Browse the repository at this point in the history
  • Loading branch information
agriyakhetarpal committed Apr 21, 2024
1 parent 59e77ad commit 7dfc2b6
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,43 @@ jobs:
- name: Test entry points for package
run: nox -s venv

build_wheels_linux_aarch64:
needs: [style]
name: linux-aarch64-buildjet
if: >-
contains(github.event.head_commit.message, '[buildjet]') &&
github.repository == 'agriyakhetarpal/hugo-python-distributions'
runs-on: buildjet-2vcpu-ubuntu-2204-arm
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
- uses: buildjet/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
with:
python-version: 3.12

- name: Set up Go toolchain
id: setup-go
uses: buildjet/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
go-version: '1.22.2'
cache: false
check-latest: true

- name: Restore Hugo builder cache
uses: buildjet/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
with:
path: ./hugo_cache/
key: linux-aarch64-buildjet-hugo-${{ steps.setup-go.outputs.go-version }}

- name: Install Python dependencies
run: python -m pip install build virtualenv nox

- name: Build binary distribution (wheel) on Linux
run: |
python -m build --wheel . --outdir wheelhouse/
- name: Test entry points for package
run: nox -s venv

experimental:
needs: [style]
name: ${{ matrix.runs-on }}-${{ matrix.architecture }}-python-${{ matrix.python-version }}
Expand Down

0 comments on commit 7dfc2b6

Please sign in to comment.