mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-15 08:23:41 +00:00
ci: increase size of runners for Linux, Windows, and macOS (Intel)
Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
@@ -19,11 +19,11 @@ jobs:
|
|||||||
# macos-14: arm64 (oldest supported version as of 18-11-2025)
|
# macos-14: arm64 (oldest supported version as of 18-11-2025)
|
||||||
# macos-15-intel: amd64 (last intel version to be supported by github runners)
|
# macos-15-intel: amd64 (last intel version to be supported by github runners)
|
||||||
# See https://github.com/actions/runner-images/issues/13046
|
# See https://github.com/actions/runner-images/issues/13046
|
||||||
os: [macos-14, macos-15-intel]
|
os: [macos-14, macos-15-large]
|
||||||
include:
|
include:
|
||||||
- os: macos-14
|
- os: macos-14
|
||||||
goarch: arm64
|
goarch: arm64
|
||||||
- os: macos-15-intel
|
- os: macos-15-large
|
||||||
goarch: amd64
|
goarch: amd64
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ concurrency:
|
|||||||
jobs:
|
jobs:
|
||||||
push_to_registry:
|
push_to_registry:
|
||||||
name: build-push-dev
|
name: build-push-dev
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24-04-better
|
||||||
permissions:
|
permissions:
|
||||||
packages: write
|
packages: write
|
||||||
contents: read
|
contents: read
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ jobs:
|
|||||||
# Build Linux binaries, ready for release.
|
# Build Linux binaries, ready for release.
|
||||||
# This runs inside an Alpine Linux container so we can more easily create a
|
# This runs inside an Alpine Linux container so we can more easily create a
|
||||||
# statically linked binary.
|
# statically linked binary.
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24-04-better
|
||||||
container:
|
container:
|
||||||
image: golang:1.26-alpine
|
image: golang:1.26-alpine
|
||||||
outputs:
|
outputs:
|
||||||
@@ -132,7 +132,7 @@ jobs:
|
|||||||
archive: false
|
archive: false
|
||||||
test-linux-build:
|
test-linux-build:
|
||||||
# Test the binaries built in the build-linux job by running the smoke tests.
|
# Test the binaries built in the build-linux job by running the smoke tests.
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24-04-better
|
||||||
needs: build-linux
|
needs: build-linux
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
@@ -166,7 +166,7 @@ jobs:
|
|||||||
assert-test-linux:
|
assert-test-linux:
|
||||||
# Run all tests that can run on Linux, with LLVM assertions enabled to catch
|
# Run all tests that can run on Linux, with LLVM assertions enabled to catch
|
||||||
# potential bugs.
|
# potential bugs.
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-24-04-better
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v6
|
uses: actions/checkout@v6
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ concurrency:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-windows:
|
build-windows:
|
||||||
runs-on: windows-2022
|
runs-on: windows-2022-better
|
||||||
outputs:
|
outputs:
|
||||||
version: ${{ steps.version.outputs.version }}
|
version: ${{ steps.version.outputs.version }}
|
||||||
steps:
|
steps:
|
||||||
@@ -46,7 +46,7 @@ jobs:
|
|||||||
uses: actions/cache/restore@v5
|
uses: actions/cache/restore@v5
|
||||||
id: cache-llvm-source
|
id: cache-llvm-source
|
||||||
with:
|
with:
|
||||||
key: llvm-source-20-windows-v1
|
key: llvm-source-20-windows-v2
|
||||||
path: |
|
path: |
|
||||||
llvm-project/clang/lib/Headers
|
llvm-project/clang/lib/Headers
|
||||||
llvm-project/clang/include
|
llvm-project/clang/include
|
||||||
@@ -71,7 +71,7 @@ jobs:
|
|||||||
uses: actions/cache/restore@v5
|
uses: actions/cache/restore@v5
|
||||||
id: cache-llvm-build
|
id: cache-llvm-build
|
||||||
with:
|
with:
|
||||||
key: llvm-build-20-windows-v2
|
key: llvm-build-20-windows-v3
|
||||||
path: llvm-build
|
path: llvm-build
|
||||||
- name: Build LLVM
|
- name: Build LLVM
|
||||||
if: steps.cache-llvm-build.outputs.cache-hit != 'true'
|
if: steps.cache-llvm-build.outputs.cache-hit != 'true'
|
||||||
@@ -93,7 +93,7 @@ jobs:
|
|||||||
- name: Cache Go cache
|
- name: Cache Go cache
|
||||||
uses: actions/cache@v5
|
uses: actions/cache@v5
|
||||||
with:
|
with:
|
||||||
key: go-cache-windows-v2-${{ hashFiles('go.mod') }}
|
key: go-cache-windows-v3-${{ hashFiles('go.mod') }}
|
||||||
path: |
|
path: |
|
||||||
C:/Users/runneradmin/AppData/Local/go-build
|
C:/Users/runneradmin/AppData/Local/go-build
|
||||||
C:/Users/runneradmin/go/pkg/mod
|
C:/Users/runneradmin/go/pkg/mod
|
||||||
@@ -121,7 +121,7 @@ jobs:
|
|||||||
archive: false
|
archive: false
|
||||||
|
|
||||||
smoke-test-windows:
|
smoke-test-windows:
|
||||||
runs-on: windows-2022
|
runs-on: windows-2022-better
|
||||||
needs: build-windows
|
needs: build-windows
|
||||||
steps:
|
steps:
|
||||||
- name: Configure pagefile
|
- name: Configure pagefile
|
||||||
@@ -154,7 +154,7 @@ jobs:
|
|||||||
run: make smoketest TINYGO=$(PWD)/build/tinygo/bin/tinygo
|
run: make smoketest TINYGO=$(PWD)/build/tinygo/bin/tinygo
|
||||||
|
|
||||||
stdlib-test-windows:
|
stdlib-test-windows:
|
||||||
runs-on: windows-2022
|
runs-on: windows-2022-better
|
||||||
needs: build-windows
|
needs: build-windows
|
||||||
steps:
|
steps:
|
||||||
- name: Configure pagefile
|
- name: Configure pagefile
|
||||||
@@ -180,7 +180,7 @@ jobs:
|
|||||||
run: make tinygo-test TINYGO=$(PWD)/build/tinygo/bin/tinygo
|
run: make tinygo-test TINYGO=$(PWD)/build/tinygo/bin/tinygo
|
||||||
|
|
||||||
stdlib-wasi-test-windows:
|
stdlib-wasi-test-windows:
|
||||||
runs-on: windows-2022
|
runs-on: windows-2022-better
|
||||||
needs: build-windows
|
needs: build-windows
|
||||||
steps:
|
steps:
|
||||||
- name: Configure pagefile
|
- name: Configure pagefile
|
||||||
|
|||||||
Reference in New Issue
Block a user