Add github CI tests

- disable `isatty()` test in `test_os()`
- add `.github/workflows/ci.yml` with 8 targets
This commit is contained in:
Ben Noordhuis
2024-03-03 14:14:23 +01:00
parent 06c100c9bf
commit e17cb9fc7a
2 changed files with 143 additions and 1 deletions

View File

@@ -144,7 +144,8 @@ function test_os()
{
var fd, fpath, fname, fdir, buf, buf2, i, files, err, fdate, st, link_path;
assert(os.isatty(0));
// XXX(bnoordhuis) disabled because stdio is not a tty on CI
//assert(os.isatty(0));
fdir = "test_tmp_dir";
fname = "tmp_file.txt";