Skip to content

Commit

Permalink
Disable CI on windows (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
romainfrancois authored Nov 14, 2023
1 parent b4d96fa commit c8a6ac9
Showing 1 changed file with 45 additions and 45 deletions.
90 changes: 45 additions & 45 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,50 +61,50 @@ jobs:
cd test
pytest . --reruns 5
win:

runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
os: [ windows-latest]

steps:
- uses: actions/checkout@v2

- name: install mamba
uses: mamba-org/provision-with-micromamba@main
with:
environment-file: environment-dev.yml
environment-name: xeus-r

- name: micromamba shell hook
shell: powershell
run: |
micromamba shell hook -s cmd.exe -p C:\Users\runneradmin\micromamba-root
- name: cmake configure
shell: cmd
run: |
call C:\Users\runneradmin\micromamba-root\condabin\micromamba.bat activate xeus-r
mkdir -p bld
cd bld
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
run: |
call C:\Users\runneradmin\micromamba-root\condabin\micromamba.bat activate xeus-r
cd bld
set CL=/MP
nmake install
- name: test
shell: cmd
run: |
call C:\Users\runneradmin\micromamba-root\condabin\micromamba.bat activate xeus-r
cd test
pytest . --reruns 5
# win:
#
# runs-on: ${{ matrix.os }}
#
# strategy:
# fail-fast: false
# matrix:
# os: [ windows-latest]
#
# steps:
# - uses: actions/checkout@v2
#
# - name: install mamba
# uses: mamba-org/provision-with-micromamba@main
# with:
# environment-file: environment-dev.yml
# environment-name: xeus-r
#
# - name: micromamba shell hook
# shell: powershell
# run: |
# micromamba shell hook -s cmd.exe -p C:\Users\runneradmin\micromamba-root
#
# - name: cmake configure
# shell: cmd
# run: |
# call C:\Users\runneradmin\micromamba-root\condabin\micromamba.bat activate xeus-r
# mkdir -p bld
# cd bld
# 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
# run: |
# call C:\Users\runneradmin\micromamba-root\condabin\micromamba.bat activate xeus-r
# cd bld
# set CL=/MP
# nmake install
#
# - name: test
# shell: cmd
# run: |
# call C:\Users\runneradmin\micromamba-root\condabin\micromamba.bat activate xeus-r
# cd test
# pytest . --reruns 5


0 comments on commit c8a6ac9

Please sign in to comment.