Commit Graph

19 Commits

Author SHA1 Message Date
c023831222 add to release flow darwin/amd64
Some checks failed
go-test / go test (push) Successful in 21s
Release / Build & publish (push) Failing after 28s
2026-04-18 09:55:18 +03:00
7f14f8c236 test: expand dsl/runner coverage and add go-test CI workflow
All checks were successful
go-test / go test (push) Successful in 56s
- Add dsl/matcher_test.go covering ExactMatcher, ContainsMatcher,
    RegexMatcher, NumericEpsMatcher, AnyOrderMatcher and NoMatcher —
    previously 0% — including epsilon, count mismatch, unparsable
    numbers, invalid regex, and splitLines edge cases.
  - Add dsl/ast_test.go for the new Test.SetInputFile / SetStdin /
    SetOutputFile / SetStdout helpers and Pattern.IsDirMode.
  - Add dsl/build_string_test.go covering BuildProfile.String,
    WarningLevel.String and BuildConfig.MergeFrom (wrapper, defines
    into nil map, defines override existing, nil src).
  - Add dsl/merge_test.go driving mergeFiles to 100%: legacy build
    fields, duplicate toolchain/build/group from include, binary /
    sources / normalize_crlf / trim_trailing_ws propagation, local
    overrides of timeout and memory_limit.
  - Add dsl/parser_features_test.go for parseTest / parseGroup happy
    paths that were missing: file/outFile, env, wrapper, per-test
    timeout/memory overrides, non-zero exitCode, scoring partial /
    all_or_none and unknown scoring.
  - Add dsl/parser_errors_test.go, a 54-case table-driven test that
    hits every `expect(...)` error branch in parseGroup and parseTest
    (missing LPAREN/RPAREN/LBRACE/RBRACE/ASSIGN, wrong token types on
    weight/timeout/memory_limit/scoring/env/wrapper/file/outFile, and
    unclosed blocks).
  - Add dsl/parser_misc_test.go covering parsePattern dir-mode with
    args, unknown pattern field, non-ident in pattern, top-level
    binary / sources / normalize_crlf / trim_trailing_ws / bare-int
    memory_limit, parseBool invalid ident and non-ident, matcher
    without an operator, validateBuilds legacy+structured conflict.
  - Add dsl/build_parser_test.go covering every BuildConfig field
    (sources, includes, sanitize, link, extra, platforms, compilers,
    defines), OS overrides on named builds, nested / duplicate OS
    override errors, unknown build / profile / warnings / platform,
    missing = on assign-string and assign-string-list, define(...)
    error cases, and parseToolchainsBlock (duplicate name, missing
    platforms, bad name token, unknown field, unknown compiler class,
    binary and class propagation).
  - Add dsl/lexer_test.go for Token.String, TokenType.String UNKNOWN
    branch, line comments, unterminated string and heredoc, unknown
    escape sequence, escape decoding, unexpected character, every
    K/M/G/KiB/MiB/GiB size suffix, ms/s/m duration suffixes, negative
    integer lexing and float literals.
  - Extend runner/result_test.go with Status.String and
    TestResult.addFailure (both previously 0%).
  - Add .gitea/workflows/go-test.yml running `go vet` and
    `go test -race -coverprofile=coverage.out ./...` on push,
    pull_request and manual dispatch, uploading coverage.out as an
    artifact.

  Coverage: dsl 60.5% -> 85%+, runner 29.0% -> 30.5%.
2026-04-16 00:59:09 +03:00
5e0effc6fe refactor: extract expander helpers and Test stdio/file setters
- Add globWithAffixes in runner/expander.go that wraps filepath.Glob
    with an empty-match check and returns the computed prefix/suffix
    from splitGlob, collapsing three near-identical lookup blocks in
    expandGlobPattern into single calls.
  - Extract per-case Test construction from buildTests into a new
    buildTest helper so the loop body is a single call and the read /
    assemble / arg-template logic lives in one place.
  - Add Test.SetInputFile, Test.SetStdin, Test.SetOutputFile and
    Test.SetStdout methods on dsl.Test to encapsulate the stdin-vs-
    InFiles and stdout-vs-OutFiles wiring that buildTest previously
    did inline.
  - Adopt the `for range N` loop form in the determinism check in
    runner/compiler_test.go.
  - Switch the MSVC release test to expect /std:c17 since MSVC does
    not ship a c11 mode (worth surfacing a warning about this later).
2026-04-16 00:28:30 +03:00
7ec3a43c7a 1. New build system
All checks were successful
build-dsl-smoke / Build judge (push) Successful in 12s
build-dsl-smoke / debug / clang / linux (push) Successful in 6s
build-dsl-smoke / debug / gcc / linux (push) Successful in 8s
build-dsl-smoke / release / clang / linux (push) Successful in 8s
build-dsl-smoke / release / gcc / linux (push) Successful in 6s
build-dsl-smoke / sanitized / clang / linux (push) Successful in 8s
build-dsl-smoke / sanitized / gcc / linux (push) Successful in 7s
build-dsl-smoke / debug / clang / windows (push) Successful in 13s
build-dsl-smoke / debug-valgrind / gcc / linux (push) Successful in 14s
build-dsl-smoke / release / clang / windows (push) Successful in 16s
build-dsl-smoke / debug / msvc / windows (push) Successful in 18s
build-dsl-smoke / release / msvc / windows (push) Successful in 17s
build-dsl-smoke / SUMMARY (push) Successful in 4s
Release / Build & publish (push) Successful in 48s
Reviewed-on: #1
2026-04-12 07:59:38 +00:00
358e3146bc use powershell instead of pwsh
All checks were successful
memory-limit / Build judge (push) Successful in 13s
memory-limit / Linux / clang (push) Successful in 10s
memory-limit / Linux / gcc (push) Successful in 10s
memory-limit / Windows / clang (push) Successful in 11s
memory-limit / Windows / msvc (push) Successful in 13s
2026-04-11 00:00:13 +03:00
5197e8d5ec fix jq not found
Some checks failed
memory-limit / Build judge (push) Successful in 11s
memory-limit / Linux / clang (push) Successful in 9s
memory-limit / Linux / gcc (push) Successful in 10s
memory-limit / Windows / clang (push) Failing after 11s
memory-limit / Windows / msvc (push) Failing after 13s
2026-04-10 23:58:48 +03:00
e9f07dc47b test memory limit
Some checks failed
memory-limit / Build judge (push) Successful in 18s
memory-limit / Linux / gcc (push) Failing after 14s
memory-limit / Linux / clang (push) Failing after 15s
memory-limit / Windows / clang (push) Failing after 16s
memory-limit / Windows / msvc (push) Failing after 17s
2026-04-10 23:41:37 +03:00
86b8d83643 fix license
All checks were successful
Release / Build & publish (push) Successful in 33s
2026-04-07 09:57:55 +03:00
8aea2806e0 fix license
Some checks failed
Release / Build & publish (push) Failing after 21s
2026-04-07 09:56:30 +03:00
edfdc40aea fix repo miss vsix
All checks were successful
Release / Build & publish (push) Successful in 1m35s
2026-04-07 09:54:00 +03:00
e4ab003a9d add mac, fix vsix release
All checks were successful
Release / Build & publish (push) Successful in 37s
2026-04-07 09:51:53 +03:00
00e1c9195c add sources, add visx to release flow
All checks were successful
Release / Build & publish (push) Successful in 1m26s
2026-04-06 19:50:16 +03:00
9b9a790618 fork bomb handling and gdb support
All checks were successful
Release / Build & publish (push) Successful in 7s
2026-04-06 17:59:26 +03:00
c030d91911 add release flow
All checks were successful
judge / Build judge (push) Successful in 10s
Release / Build & publish (push) Successful in 10s
judge / Linux / gcc / Debug (push) Successful in 9s
judge / Linux / clang / Release (push) Successful in 11s
judge / Linux / gcc / Release (push) Successful in 11s
judge / Linux / clang / Sanitized (push) Successful in 10s
judge / Linux / gcc / Sanitized (push) Successful in 10s
judge / Linux / gcc / Debug (valgrind) (push) Successful in 24s
judge / Windows / clang / Debug (push) Successful in 33s
judge / Windows / clang / Release (push) Successful in 39s
judge / Windows / msvc / Debug (push) Successful in 43s
judge / Windows / msvc / Release (push) Successful in 42s
judge / SUMMARY (push) Successful in 4s
2026-04-06 15:19:31 +03:00
81d667095f add output
All checks were successful
judge / Build judge (push) Successful in 8s
judge / Linux / gcc / Debug (push) Successful in 9s
judge / Linux / clang / Release (push) Successful in 10s
judge / Linux / gcc / Release (push) Successful in 11s
judge / Linux / gcc / Sanitized (push) Successful in 10s
judge / Linux / clang / Sanitized (push) Successful in 10s
judge / Linux / gcc / Debug (valgrind) (push) Successful in 23s
judge / Windows / clang / Debug (push) Successful in 45s
judge / Windows / clang / Release (push) Successful in 43s
judge / Windows / msvc / Debug (push) Successful in 52s
judge / Windows / msvc / Release (push) Successful in 48s
judge / SUMMARY (push) Successful in 4s
2026-04-06 14:38:13 +03:00
3f334a4068 fix
Some checks failed
judge / Build judge (push) Successful in 8s
judge / Linux / gcc / Debug (push) Successful in 9s
judge / Linux / clang / Release (push) Successful in 10s
judge / Linux / gcc / Release (push) Successful in 11s
judge / Linux / clang / Sanitized (push) Successful in 9s
judge / Linux / gcc / Sanitized (push) Successful in 10s
judge / Linux / gcc / Debug (valgrind) (push) Successful in 18s
judge / Windows / clang / Debug (push) Successful in 46s
judge / Windows / clang / Release (push) Successful in 45s
judge / Windows / msvc / Debug (push) Successful in 48s
judge / Windows / msvc / Release (push) Successful in 48s
judge / SUMMARY (push) Failing after 3s
2026-04-06 14:32:01 +03:00
856d7935b5 fix aggregate
Some checks failed
judge / Build judge (push) Successful in 10s
judge / Linux / gcc / Debug (push) Successful in 9s
judge / Linux / clang / Release (push) Successful in 12s
judge / Linux / clang / Sanitized (push) Successful in 11s
judge / Linux / gcc / Release (push) Successful in 11s
judge / Linux / gcc / Sanitized (push) Successful in 10s
judge / Linux / gcc / Debug (valgrind) (push) Successful in 17s
judge / Windows / clang / Debug (push) Successful in 1m28s
judge / Windows / clang / Release (push) Successful in 1m24s
judge / Windows / msvc / Release (push) Successful in 1m28s
judge / Windows / msvc / Debug (push) Successful in 1m33s
judge / SUMMARY (push) Failing after 4s
2026-04-06 14:28:51 +03:00
cb70adbf09 fixes
Some checks failed
judge / Build judge (push) Successful in 8s
judge / Linux / gcc / Debug (push) Successful in 7s
judge / Linux / clang / Release (push) Successful in 9s
judge / Linux / gcc / Release (push) Successful in 10s
judge / Linux / clang / Sanitized (push) Successful in 8s
judge / Linux / gcc / Sanitized (push) Successful in 9s
judge / Linux / gcc / Debug (valgrind) (push) Successful in 15s
judge / Windows / clang / Debug (push) Successful in 37s
judge / Windows / clang / Release (push) Successful in 40s
judge / Windows / msvc / Debug (push) Successful in 45s
judge / Windows / msvc / Release (push) Successful in 43s
judge / SUMMARY (push) Failing after 2s
2026-04-05 22:26:07 +03:00
77f9bcf7f0 try ci
Some checks failed
judge / Build judge (push) Successful in 1m13s
judge / Linux / gcc / Debug (push) Successful in 11s
judge / Linux / clang / Release (push) Successful in 12s
judge / Linux / gcc / Release (push) Successful in 12s
judge / Linux / clang / Sanitized (push) Successful in 10s
judge / Linux / gcc / Sanitized (push) Successful in 11s
judge / Linux / gcc / Debug (valgrind) (push) Successful in 23s
judge / Windows / clang / Debug (push) Successful in 1m11s
judge / Windows / clang / Release (push) Successful in 1m8s
judge / Windows / msvc / Release (push) Successful in 1m14s
judge / Windows / msvc / Debug (push) Successful in 1m18s
judge / SUMMARY (push) Failing after 2s
2026-04-05 18:29:54 +03:00