aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/optional.yml
diff options
context:
space:
mode:
authordundargoc <gocdundar@gmail.com>2023-10-22 13:30:32 +0200
committerdundargoc <33953936+dundargoc@users.noreply.github.com>2023-11-03 22:16:45 +0100
commit9ad239690fe6b151afe2f43c2858d68a2b877e1d (patch)
tree9c682b2397224a9dec6cdcc22b49c27fbcdd91c8 /.github/workflows/optional.yml
parent310896f6aa1d1242d531c30d2cffa20ff8cb635f (diff)
downloadrneovim-9ad239690fe6b151afe2f43c2858d68a2b877e1d.tar.gz
rneovim-9ad239690fe6b151afe2f43c2858d68a2b877e1d.tar.bz2
rneovim-9ad239690fe6b151afe2f43c2858d68a2b877e1d.zip
ci: various fixes
- adjust reviewers - add workflow as cache key - install attr only when tesitng - fix s390x workflow by checking out the merge PR instead of master
Diffstat (limited to '.github/workflows/optional.yml')
-rw-r--r--.github/workflows/optional.yml11
1 files changed, 9 insertions, 2 deletions
diff --git a/.github/workflows/optional.yml b/.github/workflows/optional.yml
index f512bb0d2a..f3bb27dc70 100644
--- a/.github/workflows/optional.yml
+++ b/.github/workflows/optional.yml
@@ -7,9 +7,14 @@ concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
cancel-in-progress: true
+env:
+ INSTALL_PREFIX: ${{ github.workspace }}/nvim-install
+ # TEST_FILE: test/functional/shada
+ # TEST_FILTER: foo
+
jobs:
s390x:
- if: ${{ github.event.label.name == 'ci-s390x' }}
+ if: contains(github.event.pull_request.labels.*.name, 'ci-s390x')
strategy:
fail-fast: false
matrix:
@@ -24,9 +29,11 @@ jobs:
bash -c
"
apt-get -y update &&
- DEBIAN_FRONTEND=noninteractive apt-get -y install attr build-essential cmake curl gettext libattr1-dev ninja-build unzip locales-all cpanminus git &&
+ DEBIAN_FRONTEND=noninteractive apt-get -y install build-essential cmake curl gettext ninja-build unzip locales-all cpanminus git attr libattr1-dev &&
git clone --depth=1 https://github.com/neovim/neovim.git &&
cd neovim &&
+ git fetch origin ${{ github.ref }}:pr &&
+ git switch pr &&
cmake -S cmake.deps -B .deps -G Ninja -D USE_BUNDLED_LUAJIT=OFF -D USE_BUNDLED_LUA=ON &&
cmake --build .deps &&
cmake -B build -G Ninja -D PREFER_LUA=ON &&