Move less installation to actions

This commit is contained in:
Victor Zverovich 2020-11-07 09:12:54 -08:00
parent 98639d0f6f
commit cd95579834
2 changed files with 2 additions and 2 deletions

View File

@ -12,6 +12,7 @@ jobs:
- name: Create Build Environment
run: |
sudo apt install doxygen
sudo npm install -g less clean-css
cmake -E make_directory ${{runner.workspace}}/build
- name: Build

View File

@ -22,8 +22,7 @@ def install_dependencies():
check_call('echo "deb https://deb.nodesource.com/node_0.10 precise main" ' +
'| sudo tee /etc/apt/sources.list.d/nodesource.list', shell=True)
check_call(['sudo', 'apt-get', 'update'])
check_call(['sudo', 'apt-get', 'install', 'python-virtualenv', 'nodejs'])
check_call(['sudo', 'npm', 'install', '-g', 'less@2.6.1', 'less-plugin-clean-css'])
check_call(['sudo', 'apt-get', 'install', 'python-virtualenv'])
deb_file = 'doxygen_1.8.6-2_amd64.deb'
urllib.urlretrieve('http://mirrors.kernel.org/ubuntu/pool/main/d/doxygen/' +
deb_file, deb_file)