Mirror of github.com/gissleh/irc
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
595 B

  1. local Pipeline(version, mod) = {
  2. kind: "pipeline",
  3. name: version,
  4. workspace: if mod then {root: "/project", path: "irc/"} else {root: "/go", path: "src/github.com/gissleh/irc"},
  5. steps: [
  6. {
  7. name: "test",
  8. image: "goland:" + version,
  9. commands: [
  10. if mod then "go mod download" else "go get",
  11. "go test -v ./...",
  12. "go test -bench ./..."
  13. ]
  14. }
  15. ]
  16. };
  17. [
  18. Pipeline("1.14", true),
  19. Pipeline("1.13", true),
  20. Pipeline("1.12", true),
  21. Pipeline("1.11", true),
  22. Pipeline("1.11", false),
  23. Pipeline("1.11", false),
  24. Pipeline("1.11", false),
  25. ]