mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-09-06 23:02:53 +02:00
more conda
This commit is contained in:
parent
f43bc3d10c
commit
21e20f2104
1 changed files with 10 additions and 6 deletions
16
.github/workflows/central-controller.yaml
vendored
16
.github/workflows/central-controller.yaml
vendored
|
@ -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
|
Loading…
Add table
Reference in a new issue