Skip to content

Commit

Permalink
Debug windows
Browse files Browse the repository at this point in the history
Debug windows

Debug windows

Debug windows micromamba setup

Debug windwos micromamba

Debug windows

Debug windows shell

Debug powershell

Init cmd and powershell

Fix shell name

Change shell args

Add more shell args
  • Loading branch information
IsabelParedes committed Dec 22, 2023
1 parent 26cd183 commit e8dd23f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
1 change: 0 additions & 1 deletion .github/ci_env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@ channels:
- conda-forge
dependencies:
- cookiecutter

13 changes: 8 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ jobs:
- name: install mamba
uses: mamba-org/setup-micromamba@v1
with:
init-shell: >-
powershell
cmd.exe
environment-file: .github/ci_env.yml

- name: micromamba shell hook
Expand All @@ -104,13 +107,13 @@ jobs:
micromamba activate xeus_cookiecutter_test_env
- name: install cxx compiler
shell: cmd
shell: cmd /C CALL {0}
run: |
call C:\Users\runneradmin\micromamba-root\condabin\micromamba.bat activate xeus_cookiecutter_test_env
call C:\Users\runneradmin\micromamba-root\condabin\micromamba.bat install cxx-compiler -c conda-forge -y
- name: cmake configure
shell: cmd
shell: cmd /C CALL {0}
run: |
call C:\Users\runneradmin\micromamba-root\condabin\micromamba.bat activate xeus_cookiecutter_test_env
cd xeus-mylang
Expand All @@ -119,15 +122,15 @@ jobs:
cmake .. -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Release -DXEUS_BUILD_TESTS=ON -DDEPENDENCY_SEARCH_PREFIX="%CONDA_PREFIX%\Library" -DCMAKE_PREFIX_PATH="%CONDA_PREFIX%\Library" -DCMAKE_INSTALL_PREFIX="%CONDA_PREFIX%"
- name: build
shell: cmd
shell: cmd /C CALL {0}
run: |
call C:\Users\runneradmin\micromamba-root\condabin\micromamba.bat activate xeus_cookiecutter_test_env
cd xeus-mylang/bld
set CL=/MP
nmake install
- name: test
shell: cmd
shell: cmd /C CALL {0}
run: |
call C:\Users\runneradmin\micromamba-root\condabin\micromamba.bat activate xeus_cookiecutter_test_env
cd xeus-mylang/test
Expand Down Expand Up @@ -225,7 +228,7 @@ jobs:
-DCMAKE_INSTALL_PREFIX=$GITHUB_WORKSPACE/custom_sysroot \
-Dnlohmann_json_DIR=$GITHUB_WORKSPACE/custom_sysroot/lib/cmake/nlohmann_json \
-Dxtl_DIR=$GITHUB_WORKSPACE/custom_sysroot/share/cmake/xtl \
-Dxeus_DIR=$GITHUB_WORKSPACE/custom_sysroot/lib/cmake/xeus
-Dxeus_DIR=$GITHUB_WORKSPACE/custom_sysroot/lib/cmake/xeus
emmake make -j2
emmake make -j2 install
Expand Down

0 comments on commit e8dd23f

Please sign in to comment.