-
-
Notifications
You must be signed in to change notification settings - Fork 32
39 lines (38 loc) · 932 Bytes
/
test-shell.yml
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
name: Test shell
on:
push:
branches:
- 'main'
- 'releases/**'
pull_request:
workflow_dispatch:
jobs:
build_ksh93:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./ # pguyot/arm-runner-action@HEAD
with:
shell: ksh93
shell_package: ksh
exit_on_fail: false
commands: |
dpkg -l ksh | grep ^ii
build_options_full_path:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./ # pguyot/arm-runner-action@HEAD
with:
shell: /bin/bash -o pipefail
commands: |
[[ "$SHELLOPTS" =~ "pipefail" ]] || exit 1
build_options_not_full_path:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./ # pguyot/arm-runner-action@HEAD
with:
shell: bash -o pipefail
commands: |
[[ "$SHELLOPTS" =~ "pipefail" ]] || exit 1