Skip to content

Commit

Permalink
revert go debugging changes
Browse files Browse the repository at this point in the history
  • Loading branch information
albho committed Aug 14, 2024
1 parent cdff848 commit 47e0710
Show file tree
Hide file tree
Showing 5 changed files with 193 additions and 194 deletions.
39 changes: 18 additions & 21 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ jobs:

strategy:
matrix:
os: [windows-latest]
go: [ '1.22.0', '1.22.1', '1.22.2', '1.22.3', '1.22.4', '1.22.5', 'stable' ]
os: [ubuntu-latest, macos-latest, windows-latest]
go: [ '1.16', '1.17', '1.18', '1.19', '1.20', 'stable' ]

steps:
- uses: actions/checkout@v3
Expand All @@ -59,9 +59,6 @@ jobs:
with:
version: 11.2.0

- name: See Mingw version
run: gcc --version

- name: Setup go
uses: actions/setup-go@v4
with:
Expand All @@ -74,30 +71,30 @@ jobs:
run: go install

- name: Build
run: $env:GOEXPERIMENT = "noallocheaders"; go build
run: go build

- name: Test
continue-on-error: true
run: go test -v -access_key ${{secrets.PV_VALID_ACCESS_KEY}}

# build-self-hosted:
# runs-on: ${{ matrix.machine }}
build-self-hosted:
runs-on: ${{ matrix.machine }}

# strategy:
# matrix:
# machine: [rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64]
strategy:
matrix:
machine: [rpi3-32, rpi3-64, rpi4-32, rpi4-64, rpi5-64]

# steps:
# - uses: actions/checkout@v3
steps:
- uses: actions/checkout@v3

# - name: Pre-build dependencies
# run: ./copy.sh
- name: Pre-build dependencies
run: ./copy.sh

# - name: Install dependencies
# run: go install
- name: Install dependencies
run: go install

# - name: Build
# run: go build
- name: Build
run: go build

# - name: Test
# run: go test -v -access_key ${{secrets.PV_VALID_ACCESS_KEY}}
- name: Test
run: go test -v -access_key ${{secrets.PV_VALID_ACCESS_KEY}}
Binary file modified binding/go/embedded/lib/windows/amd64/libpv_rhino.dll
Binary file not shown.
1 change: 1 addition & 0 deletions binding/go/rhino_native.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
//

package rhino

/*
#cgo linux LDFLAGS: -ldl
#cgo darwin LDFLAGS: -ldl
Expand Down
Loading

0 comments on commit 47e0710

Please sign in to comment.