mirror of
https://github.com/neovim/neovim.git
synced 2026-07-15 22:00:40 +00:00
ci: make install_deps.sh more flexible
This will allow us to use it in containers as well as specify whether we want to install test dependencies.
This commit is contained in:
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
@@ -39,10 +39,7 @@ jobs:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
apt-get update
|
||||
apt-get install -y build-essential cmake gettext ninja-build unzip
|
||||
- run: ./.github/scripts/install_deps.sh --container
|
||||
- if: github.event_name == 'push' || (github.event_name == 'workflow_dispatch' && github.event.inputs.tag_name != 'nightly')
|
||||
run: |
|
||||
echo 'NVIM_BUILD_TYPE=Release' >> $GITHUB_ENV
|
||||
|
||||
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@@ -41,7 +41,7 @@ jobs:
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
./.github/scripts/install_deps.sh lua-check
|
||||
./.github/scripts/install_deps.sh
|
||||
brew install stylua uncrustify
|
||||
|
||||
- uses: ./.github/actions/cache
|
||||
@@ -141,7 +141,7 @@ jobs:
|
||||
run: mkdir -p "$LOG_DIR"
|
||||
|
||||
- name: Install dependencies
|
||||
run: ./.github/scripts/install_deps.sh cpanminus
|
||||
run: ./.github/scripts/install_deps.sh --test
|
||||
|
||||
- name: Setup interpreter packages
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user