CI, sonic: Replace backend-arm64 docker build with native GHA runner, disable sonic for arm64 (#1794)

* CI: Replace docker amd64 with native runner, switch Docker test arch to amd64

* tests: Remove spaces and new lines from test JSON timestamp fields

* builds: Disable sonic for arm64 due to OKX unmarshal issue

* nits: Improve Dockerfile comment and fix build tag
This commit is contained in:
Adrian Gallagher
2025-02-24 12:38:12 +11:00
committed by GitHub
parent 636adb8822
commit 744ee7c099
13 changed files with 48 additions and 56 deletions

View File

@@ -125,7 +125,7 @@ mkdir %AppData%\GoCryptoTrader
copy config_example.json %APPDATA%\GoCryptoTrader\config.json
```
By default, GoCryptoTrader uses the [Sonic JSON](https://github.com/bytedance/sonic) library for improved performance unless compiling for a 32-bit architecture (GOARCH=386). To disable Sonic and revert to Go's encoding/json, build with the sonic_off tag:
By default, GoCryptoTrader uses the [Sonic JSON](https://github.com/bytedance/sonic) library for improved performance unless compiling for 32-bit or arm64 architectures. To disable Sonic and revert to Go's encoding/json, build with the sonic_off tag:
```bash
go build -tags=sonic_off