mirror of
https://github.com/danbulant/deno_install
synced 2026-06-23 16:52:03 +00:00
43 lines
1.4 KiB
YAML
43 lines
1.4 KiB
YAML
matrix:
|
|
include:
|
|
- language: sh
|
|
os:
|
|
- linux
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- shellcheck
|
|
env:
|
|
- SHFMT_VERSION=2.6.2
|
|
- PWSH_VERSION=6.2.3
|
|
- PATH=$HOME/bin/pwsh:$HOME/bin:$PATH
|
|
before_script:
|
|
- curl -sSL -o $HOME/bin/shfmt https://github.com/mvdan/sh/releases/download/v${SHFMT_VERSION}/shfmt_v${SHFMT_VERSION}_linux_amd64
|
|
- chmod +x $HOME/bin/shfmt
|
|
- mkdir -p $HOME/bin/pwsh
|
|
- curl -sSL -o $HOME/bin/pwsh/pwsh.tar.gz https://github.com/PowerShell/PowerShell/releases/download/v$PWSH_VERSION/powershell-$PWSH_VERSION-linux-x64.tar.gz
|
|
- tar -xf $HOME/bin/pwsh/pwsh.tar.gz -C $HOME/bin/pwsh
|
|
- chmod +x $HOME/bin/pwsh/pwsh
|
|
script:
|
|
- ./install_test.sh
|
|
- ./install_test.ps1
|
|
- language: sh
|
|
os:
|
|
- osx
|
|
addons:
|
|
homebrew:
|
|
update: true
|
|
packages:
|
|
- shellcheck
|
|
- shfmt
|
|
env:
|
|
- PWSH_VERSION=6.2.3
|
|
- PATH=$HOME/bin/pwsh:$PATH
|
|
before_script:
|
|
- mkdir -p $HOME/bin/pwsh
|
|
- curl -sSL -o $HOME/bin/pwsh/pwsh.tar.gz https://github.com/PowerShell/PowerShell/releases/download/v$PWSH_VERSION/powershell-$PWSH_VERSION-osx-x64.tar.gz
|
|
- tar -xf $HOME/bin/pwsh/pwsh.tar.gz -C $HOME/bin/pwsh
|
|
- chmod +x $HOME/bin/pwsh/pwsh
|
|
script:
|
|
- ./install_test.sh
|
|
- ./install_test.ps1
|