Move less installation to actions
This commit is contained in:
parent
98639d0f6f
commit
cd95579834
1
.github/workflows/doc.yml
vendored
1
.github/workflows/doc.yml
vendored
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user