mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 03:05:11 -07:00
ce6fefbab9
This deduplicates common operations.
30 lines
670 B
YAML
30 lines
670 B
YAML
name: 'setup'
|
|
description: "Creates necessary setup for CI"
|
|
inputs:
|
|
install_flags:
|
|
description: 'Install script flags'
|
|
required: false
|
|
default: ''
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- name: Set $BIN_DIR
|
|
shell: bash
|
|
run: echo "$BIN_DIR" >> $GITHUB_PATH
|
|
|
|
- if: ${{ runner.os != 'Windows' }}
|
|
name: Set ulimit
|
|
shell: bash
|
|
run: ulimit -c unlimited
|
|
|
|
- if: ${{ runner.os == 'Windows' }}
|
|
run: .github/scripts/env.ps1
|
|
shell: pwsh
|
|
|
|
- name: Install dependencies
|
|
run: ./.github/scripts/install_deps.sh ${{ inputs.install_flags }}
|
|
shell: bash
|
|
|
|
- name: Cache
|
|
uses: ./.github/actions/cache
|