34 lines
No EOL
714 B
YAML
34 lines
No EOL
714 B
YAML
name: compile zsh
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
compile-zsh:
|
|
runs-on: archlinux-latest
|
|
container:
|
|
image: archlinux:latest
|
|
|
|
steps:
|
|
|
|
- name: install packages and prepare source
|
|
run: |
|
|
pacman -Sy wget base-devel --noconfirm
|
|
wget https://www.zsh.org/pub/zsh-5.9.tar.xz
|
|
tar -xvf zsh-5.9.tar.xz
|
|
|
|
- name: compile zsh
|
|
run: |
|
|
cd zsh-5.9
|
|
./configure --prefix=/usr \
|
|
--sysconfdir=/etc/zsh \
|
|
--enable-etcdir=/etc/zsh \
|
|
--enable-cap \
|
|
--enable-gdbm
|
|
make -j$(nproc)
|
|
make install
|
|
|
|
- name: run nano
|
|
run: zsh |