-
Notifications
You must be signed in to change notification settings - Fork 0
64 lines (46 loc) · 1.35 KB
/
check-tcl.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
on:
push:
pull_request:
workflow_dispatch:
schedule:
## Run every 12 hours
- cron: '0 */12 * * *'
name: "Tcl checks"
jobs:
check:
if: "! contains(github.event.head_commit.message, '[ci skip]')"
timeout-minutes: 10
runs-on: ubuntu-latest
name: Tcl [${{ matrix.config.language }}]
strategy:
fail-fast: false
matrix:
config:
- { }
- { language: 'C' }
- { language: 'en_US.utf8' }
- { language: 'et_EE.utf8' }
env:
LANGUAGE: ${{ matrix.config.language }}
LC_COLLATE: ${{ matrix.config.language }}
steps:
- name: Assert LANGUAGE availabilities
if: runner.os == 'Linux'
run: |
sudo locale-gen et_EE.utf8
locale -a | grep "${LANGUAGE}" || { >&2 echo "ERROR: LANGUAGE=${LANGUAGE} not installed"; exit 1; }
- uses: actions/checkout@v4
- name: Install Tcl
if: runner.os == 'Linux'
run: |
sudo apt-get install -y tclsh
- name: Session information
run: |
tclsh <<< "puts [info patchlevel]"
echo "LANGUAGE: ${LANGUAGE:-<not set>}"
echo "LC_COLLATE: ${LC_COLLATE:-<not set>}"
- name: Check CLI
if: runner.os != 'Windows'
run: make check-cli/seguid-tcl
- name: Check API
run: make check-api/seguid-tcl