-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (39 loc) · 1.54 KB
/
linux.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
34
35
36
37
38
39
40
41
name: Linux
on: [push, pull_request]
jobs:
ubuntu-20_04--blender_default:
name: Ubuntu 20.04 Blender Default (Apt)
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: installing preliminaries
run: sudo apt install blender python3 libegl1 libopengl0
- name: installing ovito with pip
run: sudo python3 -m pip install ovito
- name: check ovito install
run: python3 -s "import ovito"
- name: package add-on
run: make
- name: install blender plugin - first time just installing ovito
run: blender -b --python scripts/install.py --python-exit-code 1
- name: install blender plugin
run: python3 scripts/wrapper.py blender -b --python scripts/install.py --python-exit-code 1
ubuntu-20_04--blender_4_0:
name: Ubuntu 20.04 Blender 4.0
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: installing preliminaries
run: sudo apt install blender python3.8 libegl1 libopengl0
- name: install blender 4.0 from snap
run: sudo snap install blender --channel=4.0/stable --classic
- name: installing ovito with pip
run: sudo python3.8 -m pip install ovito
- name: check ovito install
run: python3.8 -s "import ovito"
- name: package add-on
run: make
- name: install blender plugin - first time just installing ovito
run: blender -b --python scripts/install.py --python-exit-code 1
- name: install blender plugin
run: python3 scripts/wrapper.py blender -b --python scripts/install.py --python-exit-code 1