WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/c.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest-4-cores, macos-latest-xlarge, windows-latest-8-cores]

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:

memory-check:
name: Memory Check (Valgrind)
runs-on: ubuntu-latest
runs-on: ubuntu-latest-4-cores

steps:
- uses: actions/checkout@v4
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
os: [ubuntu-latest-4-cores, windows-latest-8-cores, macos-latest-xlarge]

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -61,7 +61,7 @@ jobs:

build:
name: Build package
runs-on: ubuntu-latest
runs-on: ubuntu-latest-4-cores
needs: test

steps:
Expand Down Expand Up @@ -94,7 +94,7 @@ jobs:

publish:
name: Publish to NuGet
runs-on: ubuntu-latest
runs-on: ubuntu-latest-4-cores
needs: build
if: startsWith(github.ref, 'refs/tags/v')
permissions:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ on:
jobs:
test:
name: Test Go ${{ matrix.go-version }}
runs-on: ubuntu-latest
runs-on: ubuntu-latest-4-cores
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:

lint:
name: Lint
runs-on: ubuntu-latest
runs-on: ubuntu-latest-4-cores

steps:
- uses: actions/checkout@v4
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/java-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ jobs:
# Test on multiple JDK versions for compatibility
java-version: ['21', '25']
# Primary OS is Linux, optionally test on Windows/macOS
os: [ubuntu-latest]
os: [ubuntu-latest-4-cores]
include:
# Also test on Windows with baseline JDK
- os: windows-latest
- os: windows-latest-8-cores
java-version: '21'
# Also test on macOS with baseline JDK
- os: macos-latest
- os: macos-latest-xlarge
java-version: '21'

defaults:
Expand Down Expand Up @@ -63,11 +63,11 @@ jobs:
run: mvn -B package -DskipTests

- name: Generate JaCoCo report
if: matrix.java-version == '21' && matrix.os == 'ubuntu-latest'
if: matrix.java-version == '21' && matrix.os == 'ubuntu-latest-4-cores'
run: mvn -B jacoco:report

- name: Upload coverage to Codecov
if: matrix.java-version == '21' && matrix.os == 'ubuntu-latest'
if: matrix.java-version == '21' && matrix.os == 'ubuntu-latest-4-cores'
uses: codecov/codecov-action@v4
with:
files: java/target/site/jacoco/jacoco.xml
Expand All @@ -86,7 +86,7 @@ jobs:
# Upload JAR only once (from baseline JDK build on Linux)
# Java's "build once, run anywhere" means one JAR works on all JVMs
- name: Upload JAR artifact
if: matrix.java-version == '21' && matrix.os == 'ubuntu-latest'
if: matrix.java-version == '21' && matrix.os == 'ubuntu-latest-4-cores'
uses: actions/upload-artifact@v4
with:
name: json-structure-java-sdk
Expand All @@ -97,7 +97,7 @@ jobs:
retention-days: 30

- name: Upload sources JAR
if: matrix.java-version == '21' && matrix.os == 'ubuntu-latest'
if: matrix.java-version == '21' && matrix.os == 'ubuntu-latest-4-cores'
uses: actions/upload-artifact@v4
with:
name: json-structure-java-sdk-sources
Expand All @@ -106,7 +106,7 @@ jobs:
if-no-files-found: ignore

lint:
runs-on: ubuntu-latest
runs-on: ubuntu-latest-4-cores

defaults:
run:
Expand All @@ -133,7 +133,7 @@ jobs:

publish:
name: Publish to Maven Central
runs-on: ubuntu-latest
runs-on: ubuntu-latest-4-cores
needs: [build, lint]
if: startsWith(github.ref, 'refs/tags/v')

Expand Down
36 changes: 18 additions & 18 deletions .github/workflows/jstruct-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,28 +30,28 @@ jobs:
include:
# Linux x86_64
- target: x86_64-unknown-linux-gnu
os: ubuntu-latest
os: ubuntu-latest-4-cores
artifact: jstruct
# Linux ARM64
- target: aarch64-unknown-linux-gnu
os: ubuntu-latest
os: ubuntu-latest-4-cores
artifact: jstruct
cross: true
# Windows x86_64
- target: x86_64-pc-windows-msvc
os: windows-latest
os: windows-latest-8-cores
artifact: jstruct.exe
# Windows ARM64
- target: aarch64-pc-windows-msvc
os: windows-latest
os: windows-latest-8-cores
artifact: jstruct.exe
# macOS x86_64 (Intel)
- target: x86_64-apple-darwin
os: macos-latest
os: macos-latest-xlarge
artifact: jstruct
# macOS ARM64 (Apple Silicon)
- target: aarch64-apple-darwin
os: macos-latest
os: macos-latest-xlarge
artifact: jstruct

steps:
Expand Down Expand Up @@ -106,7 +106,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
os: [ubuntu-latest-4-cores, windows-latest-8-cores, macos-latest-xlarge]
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -130,16 +130,16 @@ jobs:
include:
# Native tests (can run directly)
- target: x86_64-unknown-linux-gnu
os: ubuntu-latest
os: ubuntu-latest-4-cores
artifact: jstruct
- target: x86_64-pc-windows-msvc
os: windows-latest
os: windows-latest-8-cores
artifact: jstruct.exe
- target: x86_64-apple-darwin
os: macos-13
artifact: jstruct
- target: aarch64-apple-darwin
os: macos-latest
os: macos-latest-xlarge
artifact: jstruct

steps:
Expand Down Expand Up @@ -216,7 +216,7 @@ jobs:
package-deb:
name: Package DEB
needs: build
runs-on: ubuntu-latest
runs-on: ubuntu-latest-4-cores
strategy:
matrix:
arch: [amd64, arm64]
Expand Down Expand Up @@ -299,7 +299,7 @@ jobs:
package-rpm:
name: Package RPM
needs: build
runs-on: ubuntu-latest
runs-on: ubuntu-latest-4-cores
strategy:
matrix:
arch: [x86_64, aarch64]
Expand Down Expand Up @@ -378,7 +378,7 @@ jobs:
package-msix:
name: Package MSIX
needs: build
runs-on: windows-latest
runs-on: windows-latest-8-cores
strategy:
matrix:
arch: [x64, arm64]
Expand Down Expand Up @@ -514,7 +514,7 @@ jobs:
package-macos:
name: Package macOS
needs: build
runs-on: macos-latest
runs-on: macos-latest-xlarge
strategy:
matrix:
arch: [x86_64, arm64]
Expand Down Expand Up @@ -603,7 +603,7 @@ jobs:
package-macos-universal:
name: Package macOS Universal
needs: build
runs-on: macos-latest
runs-on: macos-latest-xlarge

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -670,7 +670,7 @@ jobs:
package-linux-tarball:
name: Package Linux tarball
needs: build
runs-on: ubuntu-latest
runs-on: ubuntu-latest-4-cores
strategy:
matrix:
arch: [x86_64, aarch64]
Expand Down Expand Up @@ -716,7 +716,7 @@ jobs:
package-windows-zip:
name: Package Windows ZIP
needs: build
runs-on: windows-latest
runs-on: windows-latest-8-cores
strategy:
matrix:
arch: [x64, arm64]
Expand Down Expand Up @@ -770,7 +770,7 @@ jobs:
- package-macos-universal
- package-linux-tarball
- package-windows-zip
runs-on: ubuntu-latest
runs-on: ubuntu-latest-4-cores
if: startsWith(github.ref, 'refs/tags/jstruct-v')
permissions:
contents: write
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/perl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,17 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest-4-cores, macos-latest-xlarge, windows-latest-8-cores]
perl-version: ['5.20', '5.26', '5.32', '5.38']
json-backend: ['JSON::PP', 'Cpanel::JSON::XS']
exclude:
# Windows perl setup can be slow, test fewer versions
- os: windows-latest
- os: windows-latest-8-cores
perl-version: '5.20'
- os: windows-latest
- os: windows-latest-8-cores
perl-version: '5.26'
# XS modules can be tricky on Windows, test only with PP
- os: windows-latest
- os: windows-latest-8-cores
json-backend: 'Cpanel::JSON::XS'

steps:
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
prove -l -v t/

- name: Run tests with coverage
if: matrix.perl-version == '5.38' && matrix.os == 'ubuntu-latest'
if: matrix.perl-version == '5.38' && matrix.os == 'ubuntu-latest-4-cores'
working-directory: perl
run: |
cpanm --notest Devel::Cover Devel::Cover::Report::Clover
Expand All @@ -74,7 +74,7 @@ jobs:

lint:
name: Perl Critic
runs-on: ubuntu-latest
runs-on: ubuntu-latest-4-cores

steps:
- uses: actions/checkout@v4
Expand All @@ -97,7 +97,7 @@ jobs:

build:
name: Build distribution
runs-on: ubuntu-latest
runs-on: ubuntu-latest-4-cores
needs: test

steps:
Expand Down Expand Up @@ -147,7 +147,7 @@ jobs:
# This job prepares the distribution for upload
prepare-cpan:
name: Prepare for CPAN
runs-on: ubuntu-latest
runs-on: ubuntu-latest-4-cores
needs: build
if: startsWith(github.ref, 'refs/tags/v')

Expand Down Expand Up @@ -218,7 +218,7 @@ jobs:
# Requires PAUSE_USERNAME and PAUSE_PASSWORD secrets to be set
publish-cpan:
name: Publish to CPAN
runs-on: ubuntu-latest
runs-on: ubuntu-latest-4-cores
needs: prepare-cpan
if: startsWith(github.ref, 'refs/tags/v')
environment: cpan # Use a protected environment for secrets
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ permissions:
jobs:
test:
name: Test PHP ${{ matrix.php-version }}
runs-on: ubuntu-latest
runs-on: ubuntu-latest-4-cores
strategy:
fail-fast: false
matrix:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-vscode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ permissions:
jobs:
# Build and test job
build-and-test:
runs-on: ubuntu-latest
runs-on: ubuntu-latest-4-cores
# Only run if:
# - manually triggered (workflow_dispatch)
# - TypeScript SDK workflow succeeded (workflow_run)
Expand Down Expand Up @@ -135,7 +135,7 @@ jobs:

# Publish job - runs after successful build for tag-triggered events or manual dispatch
publish:
runs-on: ubuntu-latest
runs-on: ubuntu-latest-4-cores
needs: [build-and-test]
# Publish on workflow_run (TypeScript SDK completed), direct tag push, or manual dispatch (unless dry-run)
if: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ on:
jobs:
test:
name: Test Python ${{ matrix.python-version }}
runs-on: ubuntu-latest
runs-on: ubuntu-latest-4-cores
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:

build:
name: Build package
runs-on: ubuntu-latest
runs-on: ubuntu-latest-4-cores
needs: test

steps:
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:

publish:
name: Publish to PyPI
runs-on: ubuntu-latest
runs-on: ubuntu-latest-4-cores
needs: build
if: startsWith(github.ref, 'refs/tags/v')

Expand Down
Loading
Loading