mirror of
https://github.com/neovim/neovim.git
synced 2025-12-01 14:33:11 +00:00
Merge pull request #14493 from jamessan/ci-updates
This commit is contained in:
5
.gitattributes
vendored
5
.gitattributes
vendored
@@ -1,2 +1,7 @@
|
|||||||
*.h linguist-language=C
|
*.h linguist-language=C
|
||||||
src/nvim/testdir/test42.in diff
|
src/nvim/testdir/test42.in diff
|
||||||
|
.github/ export-ignore
|
||||||
|
ci/ export-ignore
|
||||||
|
.travis.yml export-ignore
|
||||||
|
codecov.yml export-ignore
|
||||||
|
.builds/ export-ignore
|
||||||
|
|||||||
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@@ -3,7 +3,9 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches: '**'
|
branches: '**'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: 'master'
|
branches:
|
||||||
|
- 'master'
|
||||||
|
- 'release-[0-9]+.[0-9]+'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
unixish:
|
unixish:
|
||||||
@@ -21,7 +23,7 @@ jobs:
|
|||||||
runner: ubuntu-20.04
|
runner: ubuntu-20.04
|
||||||
os: linux
|
os: linux
|
||||||
- flavor: tsan
|
- flavor: tsan
|
||||||
cc: clang-11
|
cc: clang-12
|
||||||
runner: ubuntu-20.04
|
runner: ubuntu-20.04
|
||||||
os: linux
|
os: linux
|
||||||
- cc: clang
|
- cc: clang
|
||||||
|
|||||||
44
.github/workflows/coverity-scan.yml
vendored
Normal file
44
.github/workflows/coverity-scan.yml
vendored
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
name: Coverity
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: '0 10 * * 1' # Run every Monday at 00:10
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
scan:
|
||||||
|
runs-on: ubuntu-18.04
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: |
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install -y autoconf automake build-essential cmake gettext gperf libtool-bin locales ninja-build pkg-config unzip
|
||||||
|
|
||||||
|
- name: Download Coverity
|
||||||
|
run: |
|
||||||
|
wget -q https://scan.coverity.com/download/cxx/linux64 --post-data "token=$TOKEN&project=neovim%2Fneovim" -O coverity_tool.tgz
|
||||||
|
mkdir cov-scan
|
||||||
|
tar ax -f coverity_tool.tgz --strip-components=1 -c cov-scan
|
||||||
|
env:
|
||||||
|
TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }}
|
||||||
|
|
||||||
|
- name: Build dependencies
|
||||||
|
run: make deps
|
||||||
|
|
||||||
|
- name: Build/scan neovim
|
||||||
|
run: |
|
||||||
|
env PATH=$(pwd)/cov-scan/bin:$PATH cov-build --dir cov-int make
|
||||||
|
|
||||||
|
- name: Submit results
|
||||||
|
run: |
|
||||||
|
tar zcf cov-scan.tgz cov-int
|
||||||
|
curl --form token=$TOKEN \
|
||||||
|
--form email=$EMAIL \
|
||||||
|
--form file=@cov-scan.tgz \
|
||||||
|
--form version="$(git rev-parse HEAD)" \
|
||||||
|
--form description="Weekly GHA scan" \
|
||||||
|
'https://scan.coverity.com/builds?project=neovim%2Fneovim'
|
||||||
|
env:
|
||||||
|
TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }}
|
||||||
|
EMAIL: ${{ secrets.COVERITY_SCAN_EMAIL }}
|
||||||
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@@ -15,7 +15,7 @@ on:
|
|||||||
# Build on the oldest supported images, so we have broader compatibility
|
# Build on the oldest supported images, so we have broader compatibility
|
||||||
jobs:
|
jobs:
|
||||||
linux:
|
linux:
|
||||||
runs-on: ubuntu-16.04
|
runs-on: ubuntu-18.04
|
||||||
outputs:
|
outputs:
|
||||||
version: ${{ steps.build.outputs.version }}
|
version: ${{ steps.build.outputs.version }}
|
||||||
release: ${{ steps.build.outputs.release }}
|
release: ${{ steps.build.outputs.release }}
|
||||||
@@ -43,7 +43,7 @@ jobs:
|
|||||||
retention-days: 1
|
retention-days: 1
|
||||||
|
|
||||||
appimage:
|
appimage:
|
||||||
runs-on: ubuntu-16.04
|
runs-on: ubuntu-18.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user