Skip to content

Commit b66b2f3

Browse files
committed
Remove redundant env setup
1 parent 240d238 commit b66b2f3

File tree

1 file changed

+3
-20
lines changed

1 file changed

+3
-20
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ jobs:
3131
uses: mamba-org/setup-micromamba@v1
3232
with:
3333
environment-file: environment-dev.yml
34-
environment-name: xeus-nelson
3534

3635
- name: Make build directory
3736
run: mkdir build
@@ -70,22 +69,13 @@ jobs:
7069
uses: mamba-org/setup-micromamba@v1
7170
with:
7271
environment-file: environment-dev.yml
73-
environment-name: xeus-nelson
7472

7573
- name: Make build directory
7674
run: mkdir build
7775

78-
- name: micromamba shell hook
79-
shell: powershell
80-
run: |
81-
micromamba shell hook -s cmd.exe -p C:\Users\runneradmin\micromamba-root
82-
83-
- name: cmake configure
76+
- name: Configure cmake
8477
shell: cmd
8578
run: |
86-
call C:\Users\runneradmin\micromamba-root\condabin\micromamba.bat activate xeus-nelson
87-
mkdir -p build
88-
cd build
8979
cmake .. ^
9080
-GNinja ^
9181
-DCMAKE_BUILD_TYPE=Release ^
@@ -94,16 +84,13 @@ jobs:
9484
- name: Build
9585
shell: cmd
9686
run: |
97-
call C:\Users\runneradmin\micromamba-root\condabin\micromamba.bat activate xeus-nelson
9887
set CL=/MP
9988
ninja install
10089
working-directory: build
10190

10291
- name: Test
10392
shell: cmd
104-
run: |
105-
call C:\Users\runneradmin\micromamba-root\condabin\micromamba.bat activate xeus-nelson
106-
pytest . --reruns 5
93+
run: pytest . --reruns 5
10794
working-directory: test
10895

10996
emscripten_wasm:
@@ -125,14 +112,10 @@ jobs:
125112
environment-name: xeus-nelson-wasm-build
126113

127114
- name: Setup emsdk
128-
run: |
129-
micromamba activate xeus-nelson-wasm-build
130-
emsdk install ${{matrix.emsdk_ver}}
115+
run: emsdk install ${{matrix.emsdk_ver}}
131116

132117
- name: Build xeus-nelson
133118
run: |
134-
micromamba activate xeus-nelson-wasm-build
135-
136119
emsdk activate ${{matrix.emsdk_ver}}
137120
source $CONDA_EMSDK_DIR/emsdk_env.sh
138121

0 commit comments

Comments
 (0)