more conda

This commit is contained in:
Grant Limberg 2025-09-03 09:04:40 -07:00
parent f43bc3d10c
commit 21e20f2104

View file

@ -33,11 +33,11 @@ jobs:
activate-environment: central_controller activate-environment: central_controller
environment-file: environment.yml environment-file: environment.yml
use-only-tar-bz2: false use-only-tar-bz2: false
- name: Activate Conda # - name: Activate Conda
run: | # run: |
echo "CONDA_BASE=$(conda info --base)" >> $GITHUB_ENV # echo "CONDA_BASE=$(conda info --base)" >> $GITHUB_ENV
source "$CONDA_BASE/etc/profile.d/conda.sh" # source "$CONDA_BASE/etc/profile.d/conda.sh"
conda activate central_controller # conda activate central_controller
- name: Setup CMake - name: Setup CMake
uses: threeal/cmake-action@v2.1.0 uses: threeal/cmake-action@v2.1.0
with: with:
@ -45,7 +45,11 @@ jobs:
CMAKE_BUILD_TYPE=Release CMAKE_BUILD_TYPE=Release
ZT1_CENTRAL_CONTROLLER=1 ZT1_CENTRAL_CONTROLLER=1
- name: Build - 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 - name: SelfTest
run: | run: |
./build/zerotier-selftest ./build/zerotier-selftest