Skip to content

Commit 1ca2261

Browse files
committed
chore(goneonize): update dependencies
1 parent afcfdd3 commit 1ca2261

2 files changed

Lines changed: 36 additions & 20 deletions

File tree

.github/workflows/autobump.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Install Protoc
2626
uses: arduino/setup-protoc@v3
2727
with:
28-
version: "32.1"
28+
version: "21.12"
2929
- name: Install uv
3030
uses: astral-sh/setup-uv@v5
3131
- name: fetch new proto files

.github/workflows/release.yml

Lines changed: 35 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,11 @@ jobs:
5151
- name: Install Protoc
5252
uses: arduino/setup-protoc@v3
5353
with:
54-
version: "30.2"
54+
version: "21.12"
5555
repo-token: ${{ secrets.PAT }}
56+
- name: Install protoc-gen-go
57+
run: |
58+
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.36.10
5659
- name: build
5760
run: |
5861
git config user.name "krypton-byte"
@@ -76,6 +79,7 @@ jobs:
7679
esac
7780
}
7881
# uv run task goneonize_changed
82+
uv run task build proto
7983
export CGO_ENABLED=1
8084
wget https://dl.google.com/android/repository/android-ndk-r26b-linux.zip > /dev/null
8185
unzip android-ndk-r26b-linux.zip > /dev/null
@@ -87,25 +91,25 @@ jobs:
8791
export GOOS=android
8892
export GOARCH=arm64
8993
update_neonize
90-
uv run task build goneonize --smart
94+
uv run task build goneonize
9195
#ARM
9296
export CC=$(which armv7a-linux-androideabi28-clang)
9397
export CXX=$(which armv7a-linux-androideabi28-clang++)
9498
export GOOS=android
9599
export GOARCH=arm
96-
uv run task build goneonize --smart
100+
uv run task build goneonize
97101
#AMD64/x86_64
98102
export CC=$(which x86_64-linux-android28-clang)
99103
export CXX=$(which x86_64-linux-android28-clang++)
100104
export GOOS=android
101105
export GOARCH=amd64
102-
uv run task build goneonize --smart
106+
uv run task build goneonize
103107
#386/686
104108
export CC=$(which i686-linux-android28-clang)
105109
export CXX=$(which i686-linux-android28-clang++)
106110
export GOOS=android
107111
export GOARCH=386
108-
uv run task build goneonize --smart
112+
uv run task build goneonize
109113
continue-on-error: true
110114
- name: Upload Artifact
111115
uses: actions/upload-artifact@v4
@@ -131,14 +135,17 @@ jobs:
131135
- name: Install Protoc
132136
uses: arduino/setup-protoc@v3
133137
with:
134-
version: "30.2"
138+
version: "21.12"
135139
repo-token: ${{ secrets.PAT }}
136140
- name: Cache dependencies
137141
uses: actions/cache@v4
138142
with:
139143
path: |
140144
**/.venv
141145
key: ${{ runner.os }}-${{ hashFiles('**/uv.lock') }}
146+
- name: Install protoc-gen-go
147+
run: |
148+
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.36.10
142149
- name: install deps
143150
run: |
144151
uv sync --dev
@@ -166,38 +173,39 @@ jobs:
166173
esac
167174
}
168175
# uv run task goneonize_changed
176+
uv run task build proto
169177
mkdir LIBS
170178
export CGO_ENABLED=1
171179
#AMD64
172180
export GOOS=windows
173181
export GOARCH=amd64
174182
export CC="zig cc -target x86_64-windows"
175183
update_neonize
176-
uv run task build goneonize --smart
184+
uv run task build goneonize
177185
uv build
178186
uv run task repack
179187
mv neonize/*.dll LIBS
180188
#ARM64
181189
export GOOS=windows
182190
export GOARCH=arm64
183191
export CC="zig cc -target aarch64-windows"
184-
uv run task build goneonize --smart
192+
uv run task build goneonize
185193
uv build
186194
uv run task repack
187195
mv neonize/*.dll LIBS
188196
#X86 / 386
189197
export GOOS=windows
190198
export GOARCH=386
191199
export CC="zig cc -target x86-windows"
192-
uv run task build goneonize --smart
200+
uv run task build goneonize
193201
uv build
194202
uv run task repack
195203
mv neonize/*.dll LIBS
196204
#LINUX x86/386
197205
export GOOS=linux
198206
export GOARCH=386
199207
export CC="zig cc -target x86-linux"
200-
uv run task build goneonize --smart
208+
uv run task build goneonize
201209
uv build
202210
uv run task repack
203211
mv neonize/*.so LIBS
@@ -230,8 +238,11 @@ jobs:
230238
- name: Install Protoc
231239
uses: arduino/setup-protoc@v3
232240
with:
233-
version: "30.2"
241+
version: "21.12"
234242
repo-token: ${{ secrets.PAT }}
243+
- name: Install protoc-gen-go
244+
run: |
245+
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.36.10
235246
- name: Cache dependencies
236247
uses: actions/cache@v4
237248
with:
@@ -267,11 +278,12 @@ jobs:
267278
esac
268279
}
269280
# uv run task goneonize_changed
281+
uv run task build proto
270282
mkdir LIBS
271283
#AMD64/X86_64
272284
export CGO_ENABLED=1
273285
update_neonize
274-
uv run task build goneonize --smart
286+
uv run task build goneonize
275287
uv build
276288
uv run task repack
277289
mv neonize/*.so LIBS
@@ -280,7 +292,7 @@ jobs:
280292
export GOARCH=arm64
281293
export CC=$(which aarch64-linux-gnu-gcc)
282294
export CXX=$(which aarch64-linux-gnu-cpp)
283-
uv run task build goneonize --smart
295+
uv run task build goneonize
284296
uv build
285297
uv run task repack
286298
mv neonize/*.so LIBS
@@ -289,14 +301,14 @@ jobs:
289301
export GOARCH=riscv64
290302
export CC=$(which riscv64-linux-gnu-gcc)
291303
export CXX=$(which riscv64-linux-gnu-cpp)
292-
uv run task build goneonize --smart
304+
uv run task build goneonize
293305
mv neonize/*.so LIBS
294306
#S390X
295307
export GOOS=linux
296308
export GOARCH=s390x
297309
export CC=$(which s390x-linux-gnu-gcc)
298310
export CXX=$(which s390x-linux-gnu-cpp)
299-
uv run task build goneonize --smart
311+
uv run task build goneonize
300312
uv build
301313
uv run task repack
302314
mv neonize/*.so LIBS
@@ -328,8 +340,11 @@ jobs:
328340
- name: Install Protoc
329341
uses: arduino/setup-protoc@v3
330342
with:
331-
version: "30.2"
343+
version: "21.12"
332344
repo-token: ${{ secrets.PAT }}
345+
- name: Install protoc-gen-go
346+
run: |
347+
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.36.10
333348
- name: Cache dependencies
334349
uses: actions/cache@v4
335350
with:
@@ -363,6 +378,7 @@ jobs:
363378
esac
364379
}
365380
# uv run task goneonize_changed
381+
uv run task build proto
366382
mkdir LIBS
367383
export PATH="/Users/runner/.local/bin:$PATH"
368384
# Set necessary environment variables for building on Darwin
@@ -375,7 +391,7 @@ jobs:
375391
export CC=$(which clang)
376392
export CXX=$(which clang++)
377393
update_neonize
378-
uv run task build goneonize --smart
394+
uv run task build goneonize
379395
uv build
380396
uv run task repack
381397
mv neonize/*.dylib LIBS/
@@ -385,7 +401,7 @@ jobs:
385401
export GOARCH=arm64
386402
export CC=$(which clang)
387403
export CXX=$(which clang++)
388-
uv run task build goneonize --smart
404+
uv run task build goneonize
389405
uv build
390406
uv run task repack
391407
cp dist/*.whl LIBS/
@@ -495,7 +511,7 @@ jobs:
495511
- name: Install Protoc
496512
uses: arduino/setup-protoc@v3
497513
with:
498-
version: "30.2"
514+
version: "21.12"
499515
repo-token: ${{ secrets.PAT }}
500516
- name: install deps
501517
run: |

0 commit comments

Comments
 (0)