chore: drop GitHub workflows and templates
The vendored copy does not run upstream CI: remove the Actions workflows, security scanners and issue templates so nothing is triggered from this repository. The dependency bundle URL is pinned in bypy so setup no longer reads the removed CI script.
This commit is contained in:
11 files changed
+4
-1362
No files matched your search
+4
-12
@@ -14,7 +14,6 @@ import (
|
||||
"os"
|
||||
"os/exec"
|
||||
"path/filepath"
|
||||
"regexp"
|
||||
"runtime"
|
||||
"strings"
|
||||
)
|
||||
@@ -269,18 +268,11 @@ func dependencies(args []string) {
|
||||
fmt.Println("Dependencies needed to generate documentation have been installed. Build docs with ./dev.sh docs")
|
||||
exit(0)
|
||||
}
|
||||
data, err := os.ReadFile(".github/workflows/ci.py")
|
||||
if err != nil {
|
||||
exit(err)
|
||||
}
|
||||
pat := regexp.MustCompile("BUNDLE_URL = '(.+?)'")
|
||||
// The upstream CI scripts are not vendored here, so pin the bundle URL
|
||||
// instead of scraping it from .github/workflows/ci.py.
|
||||
const bundle_url = "https://download.calibre-ebook.com/ci/kitty/{}-64.tar.xz"
|
||||
prefix := "/sw/sw"
|
||||
var url string
|
||||
if m := pat.FindStringSubmatch(string(data)); len(m) < 2 {
|
||||
exit("Failed to find BUNDLE_URL in ci.py")
|
||||
} else {
|
||||
url = m[1]
|
||||
}
|
||||
url := bundle_url
|
||||
var which string
|
||||
switch runtime.GOOS {
|
||||
case "darwin":
|
||||
|
||||
Reference in new issue
Block a user