-
Notifications
You must be signed in to change notification settings - Fork 3
33 lines (30 loc) · 1017 Bytes
/
netsci_CI.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: netcalc
on: [push]
jobs:
run:
runs-on: [self-hosted]
defaults:
run:
shell: bash -l {0}
env:
repo_token: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
miniconda-version: "latest"
channels: bioconda, conda-forge, defaults, anaconda
environment-file: netsci.yml
auto-update-conda: false
auto-activate-base: false
show-channel-urls: true
activate-environment: netsci
- name: build
shell: bash -l {0}
run: |
wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | gpg --dearmor - | sudo tee /etc/apt/trusted.gpg.d/kitware.gpg >/dev/null
sudo apt-add-repository 'deb https://apt.kitware.com/ubuntu/ jammy main'
sudo apt-get update && sudo apt-get install -y cmake
mkdir build
cd build
cmake ..