Skip to content

Commit

Permalink
GA: Try to check Tcl version
Browse files Browse the repository at this point in the history
  • Loading branch information
HenrikBengtsson committed Apr 30, 2024
1 parent 847cae5 commit e52080f
Showing 1 changed file with 65 additions and 0 deletions.
65 changes: 65 additions & 0 deletions .github/workflows/check-tcl.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
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: Node ${{ matrix.config.node }} [${{ 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 $tcl_version'
tclsh <<< 'puts $tcl_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

0 comments on commit e52080f

Please sign in to comment.