mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-09-06 06:42:54 +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
|
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
|
Loading…
Add table
Reference in a new issue