Fix various typos / Update README.md #2215
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push] | |
jobs: | |
Linux: | |
name: Linux | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@main | |
- name: Build | |
run: bin/package make -j5 | |
- name: Regression tests | |
run: | | |
PS4="$PS4[ci.yml] " | |
set -o xtrace | |
export TZ=UTC | |
ulimit -n 1024 | |
: default regression tests && | |
script -q -e -c "bin/package test" && | |
: regression tests with OS-provided multibyte locales && | |
LANG=nl_NL.UTF-8 script -q -e -c "bin/shtests --locale --nocompile" && | |
LANG=ja_JP.SJIS script -q -e -c "bin/shtests --locale --nocompile" && | |
: disable most SHOPTs, rebuild ksh && | |
sed --regexp-extended --in-place=.orig \ | |
'/^SHOPT (AUDIT|BGX|BRACEPAT|DEVFD|DYNAMIC|EDPREDICT|ESH|FIXEDARRAY|HISTEXPAND|MULTIBYTE|NAMESPACE|OPTIMIZE|SPAWN|STATS|SUID_EXEC|VSH)=/ s/=1?/=0/' \ | |
src/cmd/ksh93/SHOPT.sh && | |
bin/package make -j5 && | |
: default regression tests with SHOPTs disabled && | |
script -q -e -c "bin/shtests" && | |
: enable SHOPT_SCRIPTONLY, rebuild ksh && | |
sed --regexp-extended --in-place=.orig \ | |
'/^SHOPT SCRIPTONLY=/ s/=0?/=1/' \ | |
src/cmd/ksh93/SHOPT.sh && | |
bin/package make -j5 && | |
: default regression tests with SHOPT_SCRIPTONLY enabled && | |
script -q -e -c "bin/shtests" |