mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-13 16:14:38 +00:00
45 lines
1.2 KiB
YAML
45 lines
1.2 KiB
YAML
name: Linux
|
|
|
|
on:
|
|
[push, pull_request]
|
|
|
|
jobs:
|
|
linux_build:
|
|
name: Build MeshLab (Linux)
|
|
runs-on: ubuntu-16.04 #in order to deploy, need to use oldest supported version
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
with:
|
|
submodules: true
|
|
- name: Install Qt
|
|
uses: jurplel/install-qt-action@v2
|
|
with:
|
|
modules: xmlpatterns
|
|
- name: Install dependencies
|
|
run: |
|
|
sudo apt-get install -y mesa-common-dev libglu1-mesa-dev libgmp-dev
|
|
- name: Setup env variables
|
|
id: envs
|
|
run: |
|
|
echo ::set-output name=date::"$(cat ML_VERSION)"
|
|
- name: Configure and Build
|
|
run: |
|
|
sh scripts/${{ runner.os }}/1_build.sh
|
|
- name: Deploy
|
|
run: |
|
|
sh scripts/${{ runner.os }}/2_deploy.sh
|
|
- name: Build MeshLab AppImage
|
|
run : |
|
|
sh scripts/${{ runner.os }}/3_appimage.sh
|
|
- name: Upload Meshlab Portable
|
|
uses: actions/upload-artifact@v1
|
|
with:
|
|
name: meshlab_linux_portable
|
|
path: src/install/
|
|
- name: Upload Meshlab AppImage
|
|
uses: actions/upload-artifact@v1
|
|
with:
|
|
name: meshlab_linux_appimage
|
|
path: src/MeshLab${{steps.envs.outputs.date}}-linux.AppImage
|