Skip to content

Commit 21e20f2

Browse files
committed
more conda
1 parent f43bc3d commit 21e20f2

1 file changed

Lines changed: 10 additions & 6 deletions

File tree

.github/workflows/central-controller.yaml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,19 +33,23 @@ jobs:
3333
activate-environment: central_controller
3434
environment-file: environment.yml
3535
use-only-tar-bz2: false
36-
- name: Activate Conda
37-
run: |
38-
echo "CONDA_BASE=$(conda info --base)" >> $GITHUB_ENV
39-
source "$CONDA_BASE/etc/profile.d/conda.sh"
40-
conda activate central_controller
36+
# - name: Activate Conda
37+
# run: |
38+
# echo "CONDA_BASE=$(conda info --base)" >> $GITHUB_ENV
39+
# source "$CONDA_BASE/etc/profile.d/conda.sh"
40+
# conda activate central_controller
4141
- name: Setup CMake
4242
uses: threeal/cmake-action@v2.1.0
4343
with:
4444
options: |
4545
CMAKE_BUILD_TYPE=Release
4646
ZT1_CENTRAL_CONTROLLER=1
4747
- name: Build
48-
run: cmake --build . --config Release -- -j 4
48+
run: |
49+
source ~/miniconda3/etc/profile.d/conda.sh
50+
conda activate central_controller
51+
cmake -B build -S . -DCMAKE_BUILD_TYPE=Release -DZT1_CENTRAL_CONTROLLER=1
52+
cmake --build . --config Release -- -j 4
4953
- name: SelfTest
5054
run: |
5155
./build/zerotier-selftest

0 commit comments

Comments
 (0)