Skip to content

ci(github): add

ci(github): add #2

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get install -y tcl tcllib libsqlite3-tcl
- name: Run tests
run: |
make test
windows:
runs-on: windows-latest
steps:
- name: 'Disable `autocrlf` in Git'
run: git config --global core.autocrlf false
- uses: actions/checkout@v4
- name: Install dependencies
run: |
Invoke-WebRequest https://dbohdan.com/dist/jimsh-0.80-win32.7z -OutFile jimsh.7z
Invoke-WebRequest https://sqlite.org/2017/sqlite-tools-win32-x86-3210000.zip -OutFile sqlite-tools.zip
.\assemble.cmd /tclsh:tclkit.exe
7z e jimsh.7z
7z e sqlite-tools.zip
- name: Run tests
run: |
.\tclkit.exe tests.tcl