Skip to content

Commit 16fa098

Browse files
Go 1.25.0 (#7)
Adjustments for building a patched Go 1.25 is ready. Changes include: - Adapt patches for Go 1.25 - Switching release system from Go 1.24 to Go 1.25 - Remove pre-compiled SDK for i386/i686/x86 (`GOARCH=386`) architecture - For x86-64/amd64 (`GOARCH=amd64`) and arm64/armv8 (`GOARCH=arm64`) architecture, pre-compiled SDK will be delivered as usual - This won't break the ability of cross-compiling to 32 bit i386/i686/x86 architecture - Regular building test will also lowering the frequency from 2 times a week to 1 time a week
1 parent e05a861 commit 16fa098

File tree

5 files changed

+14
-19
lines changed

5 files changed

+14
-19
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,8 @@ jobs:
2222
strategy:
2323
matrix:
2424
goos: [windows, linux, darwin]
25-
goarch: [amd64, 386, arm64]
26-
buildtarget: ['go1.24.6']
27-
exclude:
28-
-
29-
goos: darwin
30-
goarch: 386
25+
goarch: [amd64, arm64]
26+
buildtarget: ['go1.25.0']
3127
fail-fast: false
3228
env:
3329
GOOS: ${{ matrix.goos }}
@@ -46,15 +42,14 @@ jobs:
4642
repository: 'golang/go'
4743
ref: ${{ matrix.buildtarget }}
4844

49-
# Patches for Go 1.24.x before more minor changes introduces.
45+
# Patches for Go 1.25.x before more minor changes introduces.
5046
- name: Apply patch
5147
run: |
52-
curl -L -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" https://github.com/XTLS/go-win7/raw/refs/heads/build/unified-1-24-patch.diff | patch --verbose -p 1
53-
# curl -L -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" https://github.com/XTLS/go-win7/commit/f429f15f6305e4432afd7309b317e903bd76a5c0.diff | patch --verbose -p 1
54-
# curl -L -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" https://github.com/XTLS/go-win7/commit/41f545de980e9285b68ece40d4b4e63feef9c5a1.diff | patch --verbose -p 1
55-
# curl -L -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" https://github.com/XTLS/go-win7/commit/b6c99a977f732ee5553ddc75ae0fe3b47927fc1c.diff | patch --verbose -p 1
56-
# curl -L -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" https://github.com/XTLS/go-win7/commit/36d7775e030192d3bf2dc111d1f6cfa89eae5f0c.diff | patch --verbose -p 1
57-
# curl -L -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" https://github.com/XTLS/go-win7/commit/a3e4d4735a5d89f60b907308b556c5a53614914d.diff | patch --verbose -p 1
48+
curl -L -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" https://github.com/XTLS/go-win7/raw/refs/heads/build/unified-1-25-patch.diff | patch --verbose -p 1
49+
# curl -L -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" https://github.com/XTLS/go-win7/commit/830f1acfc984be44520621b001096845ebf40c7a.diff | patch --verbose -p 1
50+
# curl -L -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" https://github.com/XTLS/go-win7/commit/b5e4a6d5b3d0b076414d04cc3d6002f816bc0c25.diff | patch --verbose -p 1
51+
# curl -L -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" https://github.com/XTLS/go-win7/commit/949393bde276adbeaf41688f086feb23e24abe88.diff | patch --verbose -p 1
52+
# curl -L -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" https://github.com/XTLS/go-win7/commit/fc29c4ae1cd53d6761d4324c4625cc8a149c55d3.diff | patch --verbose -p 1
5853

5954
- name: Set-up Go
6055
uses: actions/setup-go@v5

.github/workflows/test-go1_22.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Build patched Go 1.22 for tests
33
on:
44
workflow_dispatch:
55
#schedule:
6-
#- cron: '0 0 * * 4,6'
6+
#- cron: '0 0 * * 6'
77
push:
88
branches:
99
- build

.github/workflows/test-go1_23.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ name: Build patched Go 1.23 for tests
22

33
on:
44
workflow_dispatch:
5-
schedule:
6-
- cron: '10 0 * * 4,6'
5+
#schedule:
6+
#- cron: '0 0 * * 6'
77
push:
88
branches:
99
- build

.github/workflows/test-go1_24.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Build patched Go 1.24 for tests
33
on:
44
workflow_dispatch:
55
schedule:
6-
- cron: '20 0 * * 4,6'
6+
- cron: '10 0 * * 6'
77
push:
88
branches:
99
- build

.github/workflows/test-go1_25.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Build patched Go 1.25 for tests
33
on:
44
workflow_dispatch:
55
schedule:
6-
- cron: '30 0 * * 4,6'
6+
- cron: '20 0 * * 6'
77
push:
88
branches:
99
- build
@@ -60,7 +60,7 @@ jobs:
6060
- name: Set-up Go
6161
uses: actions/setup-go@v5
6262
with:
63-
#go-version-file: 'src/go.mod'
63+
go-version-file: 'src/go.mod'
6464
check-latest: true
6565

6666
- name: Build patched Go

0 commit comments

Comments
 (0)