Skip to content

Commit

Permalink
Set up windows shell
Browse files Browse the repository at this point in the history
  • Loading branch information
IsabelParedes committed Dec 29, 2023
1 parent b66b2f3 commit bbce57f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,28 +68,29 @@ jobs:
- name: Install micromamba
uses: mamba-org/setup-micromamba@v1
with:
init-shell: cmd.exe
environment-file: environment-dev.yml

- name: Make build directory
run: mkdir build

- name: Configure cmake
shell: cmd
shell: cmd /C call {0}
run: |
cmake .. ^
-GNinja ^
-DCMAKE_BUILD_TYPE=Release ^
-DCMAKE_INSTALL_PREFIX="%CONDA_PREFIX%\Library"
- name: Build
shell: cmd
shell: cmd /C call {0}
run: |
set CL=/MP
ninja install
working-directory: build

- name: Test
shell: cmd
shell: cmd /C call {0}
run: pytest . --reruns 5
working-directory: test

Expand Down

0 comments on commit bbce57f

Please sign in to comment.