Skip to content

feat(evil): implement the long word motions (W, B, E) #23

feat(evil): implement the long word motions (W, B, E)

feat(evil): implement the long word motions (W, B, E) #23

Workflow file for this run

name: "evil-helix - build pr"
on:
pull_request:
workflow_dispatch:
permissions: write-all
env:
RUST_BACKTRACE: 1
HELIX_LOG_LEVEL: info
HELIX_DEFAULT_RUNTIME: /opt/helix/runtime
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
strategy:
fail-fast: false
matrix:
target:
- id: x86_64-unknown-linux-gnu
name: amd64-linux
native: true
os: ubuntu-latest
runs-on: ${{ matrix.target.os }}
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Install stable toolchain
uses: dtolnay/rust-toolchain@1.74
with:
targets: ${{ matrix.target.id }}
- uses: Swatinem/rust-cache@v2
with:
shared-key: "build"
- name: Build
run: cargo build --target ${{ matrix.target.id }} --release
- name: "Prepare dist"
run: |
mkdir -pv dist/helix
mv -v target/${{ matrix.target.id }}/release/hx dist/helix/
rm -rf runtime/grammars/sources
mv -v runtime dist/helix/
cd dist && tar -cvzf helix-${{ matrix.target.name }}.tar.gz helix
- name: "Upload artifacts"
uses: actions/upload-artifact@v4
with:
name: helix-${{ matrix.target.name }}
path: dist/helix-${{ matrix.target.name }}.tar.gz