Skip to content

WIP: CI: Build and show dist #112

WIP: CI: Build and show dist

WIP: CI: Build and show dist #112

Workflow file for this run

name: Test, build, publish
# Run tests (all branches),
# for tags build wheels, publish wheels to PyPI and Github Releases.
on: [push, pull_request]
jobs:
run-tests:
env:
not_in_conda: "[]"
strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.7"]
include:
- os: ubuntu-latest
os-name: Linux
pip-cache-path: ~/.cache/pip
name: Python ${{ matrix.python-version }} @ ${{ matrix.os-name }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Build on Linux/aarch64
uses: uraimo/run-on-arch-action@v2
with:
arch: aarch64
distro: ubuntu22.04
# Mount the repo directory as /cheetah3 in the container
dockerRunArgs: |
--volume "${PWD}:/cheetah3"
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
useradd -s /bin/bash cheetah
exec su - cheetah -c /bin/bash -c '
set -ex
echo "$HOME"
echo "$PY_VER"
echo "$RUNNER_OS"
id
pwd
set
#curl -L -O "https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-$(uname)-$(uname -m).sh"
#bash Miniforge3-$(uname)-$(uname -m).sh -b
#source "$HOME"/miniforge3/etc/profile.d/conda.sh
#conda update -n base -c conda-forge --yes conda
#"$HOME"/miniforge3/condabin/conda create -n $PY_VER --yes python=$PY_VER
#conda activate $PY_VER
#python --version
#pip --version
#cd /cheetah3
#exec devscripts/CI/ghactions-release
'
if: ${{ runner.os == 'Linux' }}