1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-09-11 17:15:34 +03:00

Compare commits

...

14 Commits

Author SHA1 Message Date
Tae Won Ha
9163dc96cc
Tidy up 2024-05-27 23:52:53 +09:00
Tae Won Ha
f7a00ce478
Tidy up 2024-05-27 23:52:13 +09:00
Tae Won Ha
09cd3519e0
Remove debug statements 2024-05-27 23:27:55 +09:00
Tae Won Ha
2e72c661cf
Fix paths 2024-05-27 23:20:39 +09:00
Tae Won Ha
9a6fb5b754
Fix tar command 2024-05-27 23:15:57 +09:00
Tae Won Ha
f21e71c1d5
Add some debug messages 2024-05-27 23:08:42 +09:00
Tae Won Ha
9a73f4ad7c
Do not append arch 2024-05-27 23:01:15 +09:00
Tae Won Ha
dbd658fc5c
Turn off libintl for testing 2024-05-27 23:00:00 +09:00
Tae Won Ha
cd8e19edf6
Move downloaded artifacts to appropriate location 2024-05-27 22:47:24 +09:00
Tae Won Ha
11de4c720d
Update neovim to v0.10.0 2024-05-27 22:42:27 +09:00
Tae Won Ha
74d3a9565d
Fix typo 2024-05-27 22:18:49 +09:00
Tae Won Ha
d9cc1da85b
Rename artifact appropriately 2024-05-27 22:01:20 +09:00
Tae Won Ha
6445f5521d
Checkout submodules 2024-05-27 21:49:50 +09:00
Tae Won Ha
602161adc2
Make first step independent 2024-05-27 21:42:15 +09:00
4 changed files with 30 additions and 6 deletions

View File

@ -7,7 +7,6 @@ on:
jobs:
macos:
needs: setup
strategy:
fail-fast: false
matrix:
@ -23,6 +22,7 @@ jobs:
with:
# Perform a full checkout #13471
fetch-depth: 0
submodules: true
- name: Install dependencies
run: brew bundle
@ -47,20 +47,33 @@ jobs:
# Must perform checkout first, since it deletes the target directory
# before running, and would therefore delete the downloaded artifacts
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/download-artifact@v4
- name: Install dependencies
run: brew-bundle
run: brew bundle
- name: Set tag name env
run: |
TAG_NAME=${{ github.ref }}
echo "TAG_NAME=${TAG_NAME#refs/tags/}" >> $GITHUB_ENV
- name: Move downloaded artifacts
run: |
mv nvim-macos-x86_64/* .
mv nvim-macos-arm64/* .
rm -r nvim-macos-x86_64
rm -r nvim-macos-arm64
- name: Create universal Neovim
run: ./bin/neovim/bin/build_universal_neovim.sh
# Set as prerelease such that the latest VimR release is marked as the latest stable release
- name: Publish release
run: |
gh release create $TAG_NAME --title "Neovim universal build ${TAG_NAME}" --target $GITHUB_SHA nvim-macos-x86_64/nvim-macos-x86_64.tar.gz nvim-macos-arm64/nvim-macos-arm64.tar.gz nvim-macos-universal.tar.bz
gh release create $TAG_NAME \
--prerelease \
--title "Universal ${TAG_NAME}" \
--target $GITHUB_SHA nvim-macos-x86_64.tar.gz nvim-macos-arm64.tar.gz nvim-macos-universal.tar.bz

View File

@ -23,6 +23,16 @@ defaults write com.qvacua.VimR enable-debug-menu 1
## How to release
### Neovim
* Commit and push the new release of Neovim.
* Tag and push with the following
```bash
version=neovim-vX.Y.Z-$(date "+%Y%m%d.%H%M%S"); git tag -a "${version}" -m "${version}"; git push origin "${version}"
```
### VimR
* Set a new version of VimR via
```bash
is_snapshot=true ./bin/set_new_versions.sh # for snapshot or

2
Neovim

@ -1 +1 @@
Subproject commit 8744ee8783a8597f9fce4a573ae05aca2f412120
Subproject commit 27fb62988e922c2739035f477f93cc052a4fee1e

View File

@ -23,6 +23,8 @@ main() {
local universal_folder_path; universal_folder_path="$(pwd)/nvim-macos-universal";
readonly universal_folder_path
echo "${universal_folder_path}"
ls -la
mkdir -p "${universal_folder_path}/bin"
cp -r nvim-macos-arm64/share "${universal_folder_path}"
@ -31,7 +33,6 @@ main() {
lipo -create nvim-macos-arm64/bin/nvim nvim-macos-x86_64/bin/nvim \
-output "${universal_folder_path}/bin/nvim"
for f in nvim-macos-arm64/lib/nvim/parser/*; do
echo "${f}"
f="${f%/}"
local filename="${f##*/}"
lipo -create "nvim-macos-arm64/lib/nvim/parser/${filename}" \
@ -39,7 +40,7 @@ main() {
-output "${universal_folder_path}/share/nvim/runtime/parser/${filename}"
done
tar -cjf nvim-macos-universal
tar -cjf nvim-macos-universal.tar.bz nvim-macos-universal
popd >/dev/null
}