diff --git a/.github/workflows/CompileUbuntu.yml b/.github/workflows/CompileUbuntu.yml index 502bcb0c8..749cf313a 100755 --- a/.github/workflows/CompileUbuntu.yml +++ b/.github/workflows/CompileUbuntu.yml @@ -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