ci(github): add #1
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
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 |