diff options
author | James McCoy <jamessan@jamessan.com> | 2022-10-08 10:02:54 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-08 10:02:54 -0400 |
commit | 9207ad5c84a216bbd4ff5bb840e58281369d1b1d (patch) | |
tree | 767b85bbd264f7bca1b0987277460ac17e3825db | |
parent | 56182b5e9755fb8ea16bb5838a4f7500844e7532 (diff) | |
parent | f2cab9b5b41e2596dff24dbae29b82a7dfa3479a (diff) | |
download | rneovim-9207ad5c84a216bbd4ff5bb840e58281369d1b1d.tar.gz rneovim-9207ad5c84a216bbd4ff5bb840e58281369d1b1d.tar.bz2 rneovim-9207ad5c84a216bbd4ff5bb840e58281369d1b1d.zip |
Merge pull request #20528 from mliszcz/build-appimage-in-container
ci: Use ubuntu docker container to build appimage
-rw-r--r-- | .github/workflows/release.yml | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e713e3969a..1444109eae 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -51,14 +51,28 @@ jobs: appimage: runs-on: ubuntu-20.04 + container: + image: ubuntu:18.04 + options: --privileged # Privileged mode is needed to load fuse module. steps: + - name: Prepare container + run: | + apt-get update + apt-get install -y software-properties-common + add-apt-repository -y ppa:ubuntu-toolchain-r/test # For gcc-10. + add-apt-repository -y ppa:git-core/ppa # For git>=2.18. + apt-get update + apt-get install -y git gcc-10 + apt-get install -y fuse libfuse2 # For linuxdeploy. + # Workaround for https://github.com/actions/checkout/issues/766. + git config --global --add safe.directory "$GITHUB_WORKSPACE" - uses: actions/checkout@v3 with: fetch-depth: 0 - name: Install dependencies run: | - sudo apt-get update - sudo apt-get install -y autoconf automake build-essential cmake gettext libtool-bin locales ninja-build pkg-config unzip + apt-get update + apt-get install -y autoconf automake build-essential cmake gettext libtool-bin locales ninja-build pkg-config unzip - if: github.event_name == 'push' || (github.event_name == 'workflow_dispatch' && github.event.inputs.tag_name != 'nightly') run: CC=gcc-10 make appimage-latest - if: github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && github.event.inputs.tag_name == 'nightly') |