Skip to content

Commit

Permalink
CI(GHActions): Build on Linux/aarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
phdru committed Feb 26, 2024
1 parent 371f803 commit 8b3fd40
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/test-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v4

# Setup Python/pip
- uses: actions/checkout@v4
Expand Down Expand Up @@ -126,3 +127,28 @@ jobs:
skipIfReleaseExists: false
updateOnlyUnreleased: false
if: ${{ startsWith(github.ref, 'refs/tags/') }}

- name: Build on Linux/aarch64
uses: uraimo/run-on-arch-action@v2
with:
arch: aarch64
distro: ubuntu22.04
env: |
PY_VER: ${{ matrix.python-version }}
RUNNER_OS: ${{ runner.os }}
install: |
set -ex
apt-get update -q -y
apt-get install -q -y curl
run: |
set -ex
curl -L -O "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh"
bash Miniforge3-$(uname)-$(uname -m).sh -b -u -p "$HOME"/miniforge3
source "$HOME"/miniforge3/etc/profile.d/conda.sh
#conda update -n base -c conda-forge --yes conda
conda create -n $PY_VER --yes python=$PY_VER
conda activate $PY_VER
python --version
pip --version
exec devscripts/CI/ghactions-release
if: ${{ runner.os == 'Linux' }}
4 changes: 4 additions & 0 deletions docs/news.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ News
Development (master)
--------------------

CI:

- GHActions: Build on Linux/aarch64.

3.3.3 (2023-10-22)
------------------

Expand Down

0 comments on commit 8b3fd40

Please sign in to comment.