Skip to content

Commit fff4d5a

Browse files
committed
Debug
1 parent b73bc40 commit fff4d5a

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/build.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,19 +38,39 @@ jobs:
3838
shell: bash
3939
run: |
4040
BUILD_DIR="tmp"
41+
echo "Creating build directory..."
4142
mkdir $BUILD_DIR
43+
echo "Source directory contents:"
44+
ls -la spec/support/libcobhandemo/
45+
echo "Copying files..."
4246
cp -R spec/support/libcobhandemo/* $BUILD_DIR
47+
echo "Build directory contents after copy:"
48+
ls -la $BUILD_DIR
4349
cd tmp
50+
echo "Current directory after cd:"
51+
pwd
52+
echo "Files in current directory:"
53+
ls -la
4454
GOOS=linux GOARCH=amd64 go build -buildmode=c-shared -ldflags='-s -w' -o libcobhandemo-x64.so libcobhandemo.go
4555
4656
- name: Build Darwin
4757
if: matrix.os == 'macos-15'
4858
shell: bash
4959
run: |
5060
BUILD_DIR="tmp"
61+
echo "Creating build directory..."
5162
mkdir $BUILD_DIR
63+
echo "Source directory contents:"
64+
ls -la spec/support/libcobhandemo/
65+
echo "Copying files..."
5266
cp -R spec/support/libcobhandemo/* $BUILD_DIR
67+
echo "Build directory contents after copy:"
68+
ls -la $BUILD_DIR
5369
cd tmp
70+
echo "Current directory after cd:"
71+
pwd
72+
echo "Files in current directory:"
73+
ls -la
5474
GOOS=darwin GOARCH=amd64 go build -buildmode=c-shared -ldflags='-s -w' -o libcobhandemo-x64.dylib libcobhandemo.go
5575
5676
- name: Run specs
@@ -88,9 +108,19 @@ jobs:
88108
shell: bash
89109
run: |
90110
BUILD_DIR="tmp"
111+
echo "Creating build directory..."
91112
mkdir $BUILD_DIR
113+
echo "Source directory contents:"
114+
ls -la spec/support/libcobhandemo/
115+
echo "Copying files..."
92116
cp -R spec/support/libcobhandemo/* $BUILD_DIR
117+
echo "Build directory contents after copy:"
118+
ls -la $BUILD_DIR
93119
cd tmp
120+
echo "Current directory after cd:"
121+
pwd
122+
echo "Files in current directory:"
123+
ls -la
94124
CGO_ENABLED=1 GOOS=linux GOARCH=arm64 CC=aarch64-linux-gnu-gcc go build -v -buildmode=c-shared -ldflags='-s -w' -o libcobhandemo-arm64.so libcobhandemo.go
95125
96126
- name: Run specs and rubocop checks

0 commit comments

Comments
 (0)