mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +00:00
Merge pull request #13452 from jamessan/appimage
This commit is contained in:
43
.github/workflows/nightly.yml
vendored
43
.github/workflows/nightly.yml
vendored
@@ -14,7 +14,7 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y autoconf automake build-essential ccache cmake cpanminus cscope gcc-multilib gdb gettext gperf language-pack-tr libtool-bin locales ninja-build pkg-config python3 python3-pip python3-setuptools unzip valgrind xclip
|
sudo apt-get install -y autoconf automake build-essential cmake gcc-multilib gettext gperf libtool-bin locales ninja-build pkg-config unzip
|
||||||
- name: Build nightly
|
- name: Build nightly
|
||||||
id: build
|
id: build
|
||||||
run: |
|
run: |
|
||||||
@@ -30,6 +30,29 @@ jobs:
|
|||||||
path: build/nightly/nvim-linux64.tar.gz
|
path: build/nightly/nvim-linux64.tar.gz
|
||||||
retention-days: 1
|
retention-days: 1
|
||||||
|
|
||||||
|
appimage:
|
||||||
|
# Build on the oldest supported image, so we have broader compatibility
|
||||||
|
runs-on: ubuntu-16.04
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Install dependencies
|
||||||
|
run: |
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install -y autoconf automake build-essential cmake gcc-multilib gettext gperf libtool-bin locales ninja-build pkg-config unzip
|
||||||
|
- name: Build appimage
|
||||||
|
run: |
|
||||||
|
make appimage-nightly
|
||||||
|
- uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: nvim.appimage
|
||||||
|
path: build/bin/nvim.appimage
|
||||||
|
retention-days: 1
|
||||||
|
- uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: nvim.appimage.zsync
|
||||||
|
path: build/bin/nvim.appimage.zsync
|
||||||
|
retention-days: 1
|
||||||
|
|
||||||
macOS:
|
macOS:
|
||||||
runs-on: macos-10.15
|
runs-on: macos-10.15
|
||||||
steps:
|
steps:
|
||||||
@@ -68,7 +91,7 @@ jobs:
|
|||||||
retention-days: 1
|
retention-days: 1
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
needs: [linux, macOS]
|
needs: [linux, appimage, macOS]
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/download-artifact@v2
|
- uses: actions/download-artifact@v2
|
||||||
@@ -126,3 +149,19 @@ jobs:
|
|||||||
asset_path: ./nvim-linux64.tar.gz
|
asset_path: ./nvim-linux64.tar.gz
|
||||||
asset_name: nvim-linux64.tar.gz
|
asset_name: nvim-linux64.tar.gz
|
||||||
asset_content_type: application/gzip
|
asset_content_type: application/gzip
|
||||||
|
- uses: actions/upload-release-asset@v1
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
with:
|
||||||
|
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||||
|
asset_path: ./nvim.appimage
|
||||||
|
asset_name: nvim.appimage
|
||||||
|
asset_content_type: application/x-executable
|
||||||
|
- uses: actions/upload-release-asset@v1
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
with:
|
||||||
|
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||||
|
asset_path: ./nvim.appimage.zsync
|
||||||
|
asset_name: nvim.appimage.zsync
|
||||||
|
asset_content_type: application/octet-stream
|
||||||
|
Reference in New Issue
Block a user