From c153d6893a9f332f1df262462c8e9c20d0509390 Mon Sep 17 00:00:00 2001 From: DerThorsten Date: Mon, 5 Feb 2024 10:55:15 +0100 Subject: [PATCH] explicit dirs --- .github/workflows/docs.yml | 10 +++------- .github/workflows/main.yml | 6 +----- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 8d1b4d0..62e8eb5 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -66,7 +66,7 @@ jobs: source $(pwd)/emsdk_install/emsdk_env.sh mkdir build - pushd build + cd build export PREFIX=$MAMBA_ROOT_PREFIX/envs/pyjs-build-wasm export CMAKE_PREFIX_PATH=$PREFIX @@ -82,7 +82,6 @@ jobs: make -j2 make install - popd - name: Build xeus-python @@ -91,9 +90,9 @@ jobs: source $(pwd)/emsdk_install/emsdk_env.sh git clone git@github.com:jupyter-xeus/xeus-python.git - pushd xeus-python + cd xeus-python mkdir build - pushd build + cd build export PREFIX=$MAMBA_ROOT_PREFIX/envs/pyjs-build-wasm export CMAKE_PREFIX_PATH=$PREFIX @@ -111,6 +110,3 @@ jobs: -DXPYT_EMSCRIPTEN_WASM_BUILD=ON\ .. emmake make -j8 install - - popd - popd diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a9a09d1..6b85056 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -61,7 +61,7 @@ jobs: mkdir build pushd build - + export PREFIX=$MAMBA_ROOT_PREFIX/envs/pyjs-build-wasm export CMAKE_PREFIX_PATH=$PREFIX export CMAKE_SYSTEM_PREFIX_PATH=$PREFIX @@ -79,10 +79,6 @@ jobs: make install - # copy the whole prefix - cp -r $MABMA_ROOT_PREFIX/envs/pyjs-build-wasm $MAMBA_ROOT_PREFIX/envs/pyjs-wasm-copy - - popd - name: setup env with numpy