Skip to content

debug: disable array bulk-copy fast path to bisect windows crash #237

debug: disable array bulk-copy fast path to bisect windows crash

debug: disable array bulk-copy fast path to bisect windows crash #237

Workflow file for this run

name: Go
on:
push:
branches: ["release", "staging", "debug-windows-array-copy"]
pull_request:
branches: ["release"]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.26"
- name: Compute week key
id: week
shell: bash
run: echo "week=$(date +%Y-%W)" >> $GITHUB_OUTPUT
- name: Cache ~/gd directory
uses: actions/cache@v4
with:
path: ~/gd
key: ${{ runner.os }}-gd-weekly-${{ steps.week.outputs.week }}
restore-keys: ${{ runner.os }}-gd-weekly-
- name: Command Line Tooling
run: |
cd ./cmd/gd
go build -o gd.exe
- name: Test
env:
GOTRACEBACK: crash
run: |
cd ./internal
if [[ "$RUNNER_OS" == "Windows" ]]; then
# Loop to surface the flaky native crash and capture a Go traceback.
for i in $(seq 1 6); do
echo "::group::windows test run $i"
DEBUG_CMD=1 ../cmd/gd/gd.exe test -v || { echo "FAILED on run $i"; exit 1; }
echo "::endgroup::"
done
else
DEBUG_CMD=1 ../cmd/gd/gd.exe test -v
fi
shell: bash