aboutsummaryrefslogtreecommitdiff
path: root/.github/actions/setup
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2024-03-09 15:00:41 -0700
committerJosh Rahm <joshuarahm@gmail.com>2024-03-09 15:00:41 -0700
commit7a7f497b483cd65e340064f23ed1c73425ecba0a (patch)
treed5c99ea22a1e10300d06165f8ac96df6b0dc59e1 /.github/actions/setup
parent1b7b916b7631ddf73c38e3a0070d64e4636cb2f3 (diff)
parentade1b12f49c3b3914c74847d791eb90ea90b56b7 (diff)
downloadrneovim-7a7f497b483cd65e340064f23ed1c73425ecba0a.tar.gz
rneovim-7a7f497b483cd65e340064f23ed1c73425ecba0a.tar.bz2
rneovim-7a7f497b483cd65e340064f23ed1c73425ecba0a.zip
Merge remote-tracking branch 'upstream/master' into aucmd_textputpost
Diffstat (limited to '.github/actions/setup')
-rw-r--r--.github/actions/setup/action.yml29
1 files changed, 29 insertions, 0 deletions
diff --git a/.github/actions/setup/action.yml b/.github/actions/setup/action.yml
new file mode 100644
index 0000000000..dfa3101abc
--- /dev/null
+++ b/.github/actions/setup/action.yml
@@ -0,0 +1,29 @@
+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