Skip to content

Commit

Permalink
ci(github): add
Browse files Browse the repository at this point in the history
  • Loading branch information
dbohdan committed May 9, 2024
1 parent 00447b9 commit 1e6e7e9
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
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

0 comments on commit 1e6e7e9

Please sign in to comment.