mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-20 03:16:10 +00:00
snap github action
This commit is contained in:
parent
086d64e099
commit
ee10baf8a2
22
.github/workflows/CompileUbuntu.yml
vendored
22
.github/workflows/CompileUbuntu.yml
vendored
@ -50,6 +50,26 @@ jobs:
|
||||
name: meshlab_linux_appimage
|
||||
path: MeshLab${{steps.envs.outputs.date}}-linux.AppImage
|
||||
|
||||
ubuntu_build_snap:
|
||||
name: Build MeshLab (Ubuntu - CMake)
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Checkout submodules
|
||||
shell: bash
|
||||
run: |
|
||||
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
|
||||
git submodule sync --recursive
|
||||
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
|
||||
- name: Setup env variables
|
||||
id: envs
|
||||
run: |
|
||||
echo ::set-output name=date::"$(cat ML_VERSION)"
|
||||
- name: Build MeshLab Snap
|
||||
run: |
|
||||
cd install/linux/
|
||||
snapcraft
|
||||
|
||||
ubuntu_build_cmake:
|
||||
name: Build MeshLab (Ubuntu - CMake)
|
||||
@ -63,7 +83,7 @@ jobs:
|
||||
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
|
||||
git submodule sync --recursive
|
||||
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
|
||||
- name: Instal dependencies
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sh install/linux/linux_setup_env_ubuntu.sh
|
||||
sudo apt-get install cmake ninja-build
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user