Tune CI for ubuntu-only runner; Linux builds on push
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
ad6e35ac4e
commit
45805a0976
6 files changed
+239
-53
No files matched your search
+23
-10
@@ -25,23 +25,36 @@ Automated builds for **Windows, macOS, and Linux** run from the repo root.
|
||||
|
||||
1. **Site admin:** enable **Actions** for the instance.
|
||||
2. **Repo → Settings → Actions:** allow workflows.
|
||||
3. Register **act runners** with labels:
|
||||
- `ubuntu-latest` (Linux builds)
|
||||
- `windows-latest` (Windows builds)
|
||||
- `macos-latest` (macOS builds — requires a Mac runner)
|
||||
3. Register **act runners** with the right labels.
|
||||
|
||||
A single Linux runner will only build the **linux** job; Windows/macOS need matching runners or use GitHub Actions as a mirror.
|
||||
#### Your current runner
|
||||
|
||||
4. Open **Actions** tab → run **Build Scribd** manually (`workflow_dispatch`).
|
||||
| Runner ID | Labels | Can build |
|
||||
|-----------|--------|-----------|
|
||||
| `b0c969454d0f` | `ubuntu-latest`, `ubuntu-24.04`, `ubuntu-22.04` | **Linux only** |
|
||||
|
||||
Download artifacts from the completed workflow run.
|
||||
With this setup, **Build Scribd** runs only the **linux** job on push/PR (no stuck Windows/macOS jobs).
|
||||
|
||||
To add more platforms later, register runners with:
|
||||
|
||||
| Label | Platform |
|
||||
|-------|----------|
|
||||
| `windows-latest` | Windows `.zip` |
|
||||
| `macos-latest` | macOS `.app` zip |
|
||||
|
||||
Then use **Run workflow** and enable **build_windows** / **build_macos**, or run **Build Scribd (all platforms)**.
|
||||
|
||||
4. Open **Actions** → **Build Scribd** → **Run workflow** (or push to `main`).
|
||||
|
||||
Download artifact **`scribd-linux`** → `Scribd-PDF-Downloader-Linux.tar.gz`.
|
||||
|
||||
### Workflows (repo root)
|
||||
|
||||
```
|
||||
.gitea/workflows/build-scribd.yml # main CI
|
||||
.gitea/workflows/release-scribd.yml # tagged releases
|
||||
.github/workflows/build-scribd.yml # GitHub mirror
|
||||
.gitea/workflows/build-scribd.yml # default CI (Linux on push)
|
||||
.gitea/workflows/build-scribd-multiplatform.yml # manual: all 3 OS (needs 3 runners)
|
||||
.gitea/workflows/release-scribd.yml # tagged releases
|
||||
.github/workflows/build-scribd.yml # GitHub mirror
|
||||
```
|
||||
|
||||
CI scripts live in `Scribd/build/ci/` (`build-windows.ps1`, `build-unix.sh`).
|
||||
|
||||
Reference in new issue
Block a user