Skip to content

Commit

Permalink
Remove redundant env setup
Browse files Browse the repository at this point in the history
  • Loading branch information
IsabelParedes committed Dec 29, 2023
1 parent 3e6608d commit 7dfaaf9
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,6 @@ jobs:
uses: mamba-org/setup-micromamba@v1
with:
environment-file: environment-dev.yml
environment-name: xeus-python

- name: Test micromamba env
run: micromamba env list

- name: Make build directory
run: mkdir build
Expand Down Expand Up @@ -122,7 +118,6 @@ jobs:
- name: Configure cmake
shell: cmd /C call {0}
run: |
micromamba activate xeus-python
cmake .. ^
-GNinja ^
-DCMAKE_BUILD_TYPE=Release ^
Expand All @@ -138,24 +133,19 @@ jobs:
- name: Build
shell: cmd /C call {0}
run: |
micromamba activate xeus-python
set CL=/MP
ninja install
working-directory: build

- name: Test xeus-python C++
shell: cmd /C call {0}
run: |
micromamba activate xeus-python
test_xeus_python
run: test_xeus_python
timeout-minutes: 4
working-directory: build/test

- name: Test xeus-python Python
shell: cmd /C call {0}
run: |
micromamba activate xeus-python
pytest . -vvv
run: pytest . -vvv

test-wasm:

Expand All @@ -180,7 +170,6 @@ jobs:
- name: Setup emsdk
shell: bash -l {0}
run: |
micromamba activate xeus-python-wasm-build
cd $HOME
git clone https://github.com/emscripten-core/emsdk.git
cd emsdk
Expand All @@ -189,8 +178,6 @@ jobs:
- name: Build and pack xeus-python
run: |
micromamba activate xeus-python-wasm-build
$HOME/emsdk/emsdk activate ${{matrix.emsdk_ver}}
source $HOME/emsdk/emsdk_env.sh
Expand Down

0 comments on commit 7dfaaf9

Please sign in to comment.