diff --git a/.github/workflows/central-controller.yaml b/.github/workflows/central-controller.yaml index ca94bca4a..7c741f6f7 100644 --- a/.github/workflows/central-controller.yaml +++ b/.github/workflows/central-controller.yaml @@ -33,11 +33,11 @@ jobs: activate-environment: central_controller environment-file: environment.yml use-only-tar-bz2: false - - name: Activate Conda - run: | - echo "CONDA_BASE=$(conda info --base)" >> $GITHUB_ENV - source "$CONDA_BASE/etc/profile.d/conda.sh" - conda activate central_controller + # - name: Activate Conda + # run: | + # echo "CONDA_BASE=$(conda info --base)" >> $GITHUB_ENV + # source "$CONDA_BASE/etc/profile.d/conda.sh" + # conda activate central_controller - name: Setup CMake uses: threeal/cmake-action@v2.1.0 with: @@ -45,7 +45,11 @@ jobs: CMAKE_BUILD_TYPE=Release ZT1_CENTRAL_CONTROLLER=1 - name: Build - run: cmake --build . --config Release -- -j 4 + run: | + source ~/miniconda3/etc/profile.d/conda.sh + conda activate central_controller + cmake -B build -S . -DCMAKE_BUILD_TYPE=Release -DZT1_CENTRAL_CONTROLLER=1 + cmake --build . --config Release -- -j 4 - name: SelfTest run: | ./build/zerotier-selftest \ No newline at end of file