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 0cc1fd8
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
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: |
tclsh tests.tcl
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 -Uri https://downloads.sourceforge.net/project/magicsplat/magicsplat-tcl/tcl-8.6.14-installer-1.14.0-x86.msi tcl86.msi
msiexec.exe /i tcl86.msi
- name: Run tests
run: |
tclsh tests.tcl

0 comments on commit 0cc1fd8

Please sign in to comment.