From ea3f7693e790318d33a8752f00e7fc683039a828 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Andr=C3=A9=20Santoni?= Date: Wed, 9 Aug 2023 17:49:48 +0200 Subject: [PATCH] Try to fix libwinpthread copy (#510) --- .github/workflows/cd.yml | 2 +- .github/workflows/ci.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index dc09262a..e2e5e8ea 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -179,7 +179,7 @@ jobs: - run: 7z x openal-soft-1.21.0-bin.zip -o/c/ - run: echo "CGO_CFLAGS=-I/c/openal-soft-1.21.0-bin/include/" >> $GITHUB_ENV - run: echo "CGO_LDFLAGS=-L/c/openal-soft-1.21.0-bin/libs/Win64/" >> $GITHUB_ENV - - run: cp /c/ProgramData/chocolatey/lib/mingw/tools/install/mingw64/x86_64-w64-mingw32/lib/libwinpthread* . + - run: cp /c/ProgramData/chocolatey/lib/mingw/tools/install/mingw64/bin/libwinpthread-1.dll . - run: cp /c/openal-soft-1.21.0-bin/bin/Win64/soft_oal.dll OpenAL32.dll - run: cp /c/Windows/System32/VCRUNTIME140.dll . - run: mkdir -p ./Ludo-Windows-x86_64-${VERSION}/ diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8f8568eb..430e8529 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -133,6 +133,7 @@ jobs: - run: 7z x openal-soft-1.21.0-bin.zip -o/c/ - run: echo "CGO_CFLAGS=-I/c/openal-soft-1.21.0-bin/include/" >> $GITHUB_ENV - run: echo "CGO_LDFLAGS=-L/c/openal-soft-1.21.0-bin/libs/Win64/" >> $GITHUB_ENV + - run: cp /c/ProgramData/chocolatey/lib/mingw/tools/install/mingw64/bin/libwinpthread-1.dll . - run: go get . #- run: go test -v -race ./... #- run: go vet ./...