-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
847cae5
commit e52080f
Showing
1 changed file
with
65 additions
and
0 deletions.
There are no files selected for viewing
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
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 |