From 872a0a9713100c9d704008b5bbec55e01a966eb6 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Mon, 26 Feb 2024 18:54:47 +0300 Subject: [PATCH] WIP: CI: Test environment --- .github/workflows/test-publish.yaml | 37 ++++------------------------- 1 file changed, 5 insertions(+), 32 deletions(-) diff --git a/.github/workflows/test-publish.yaml b/.github/workflows/test-publish.yaml index 91f41b7c..2ccd89fa 100644 --- a/.github/workflows/test-publish.yaml +++ b/.github/workflows/test-publish.yaml @@ -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 .