-
Notifications
You must be signed in to change notification settings - Fork 137
67 lines (53 loc) · 1.42 KB
/
installer.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# name: Installer
# concurrency:
# cancel-in-progress: true
# group: ${{ github.workflow }}-${{ github.ref }}
# defaults:
# run:
# shell: bash
# env:
# NO_INPUT: true
# TERM: xterm
# ZINIT_BRANCH: ${{ github.ref_name }}
# ZINIT_COMMIT: ${{ github.sha }}
# ZINIT_REPO: ${{ github.repository }}
# on:
# pull_request:
# branches:
# - main
# paths:
# - .github/workflows/installer.yaml
# - scripts/**
# - share/**
# - zinit*.zsh
# push:
# branches:
# - main
# workflow_dispatch:
# jobs:
# zinit-installer:
# runs-on: ${{ matrix.os }}
# strategy:
# fail-fast: true
# matrix:
# annexes: ["with annexes", "no annexes"]
# os: [macos-latest, ubuntu-latest, windows-latest]
# steps:
# - name: check out repository
# uses: actions/checkout@v3
# - name: windows dependencies
# if: runner.os == 'Windows'
# uses: egor-tensin/setup-cygwin@v3
# with:
# platform: x64
# packages: curl git zsh
# - name: remove \r
# if: runner.os == 'Windows'
# run: sed -i 's/\r$//' scripts/*.sh
# - name: linux/macos dependencies
# if: runner.os != 'Windows'
# run: brew install --force curl subversion unzip xz zsh
# - name: install
# run: ./scripts/install.sh
# - name: verify install
# run: zsh -silc 'zinit --help'