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.

26 lines
597 B

  1. local Pipeline(version, mod) = {
  2. kind: "pipeline",
  3. name: version,
  4. workspace: if mod then {base: "/project", path: "irc/"} else {base: "/go", path: "src/github.com/gissleh/irc"},
  5. steps: [
  6. {
  7. name: "test",
  8. image: "golang:" + version,
  9. commands: [
  10. if mod then "go mod download" else "go get -t",
  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.10", false),
  23. Pipeline("1.9", false),
  24. Pipeline("1.8", false),
  25. ]