Skip to content

Commit

Permalink
WIP: CI: Test environment
Browse files Browse the repository at this point in the history
  • Loading branch information
phdru committed Feb 26, 2024
1 parent aa3fbc7 commit 872a0a9
Showing 1 changed file with 5 additions and 32 deletions.
37 changes: 5 additions & 32 deletions .github/workflows/test-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,35 +24,8 @@ jobs:

steps:

- 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
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
ls -lAF .
ls -lAF devscripts
ls -lAF devscripts/CI
ls -lAF devscripts/CI/ghactions-release
exec devscripts/CI/ghactions-release
if: ${{ runner.os == 'Linux' }}
- name: Test environment
run: |
set -ex
pwd
exec ls -lAF .

0 comments on commit 872a0a9

Please sign in to comment.