File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88
99jobs :
1010 rust :
11- name : Rust Build and Test (${{ matrix.platform.arch }})
11+ name : Rust Build and Test (${{ matrix.platform.arch }}, ${{ matrix.platform.os }} )
1212 runs-on : ${{ matrix.platform.os }}
1313 defaults :
1414 run :
2121 arch : amd64
2222 - os : ubuntu-22.04-arm
2323 arch : arm64
24+ - os : macos-latest
25+ arch : arm64
2426
2527 steps :
2628 - name : Checkout repository
6264 run : cargo test --verbose
6365
6466 go :
65- name : Go Build and Test (${{ matrix.platform.arch }})
67+ name : Go Build and Test (${{ matrix.platform.arch }}, ${{ matrix.platform.os }} )
6668 runs-on : ${{ matrix.platform.os }}
6769 defaults :
6870 run :
7577 arch : amd64
7678 - os : ubuntu-22.04-arm
7779 arch : arm64
80+ - os : macos-latest
81+ arch : arm64
7882
7983 steps :
8084 - name : Checkout repository
Original file line number Diff line number Diff line change 1+ //go:build darwin
2+
3+ package gosdk
4+
5+ // #cgo LDFLAGS: -Wl,-undefined,dynamic_lookup
6+ import "C"
Original file line number Diff line number Diff line change 1+ [target .'cfg(target_os = "macos")' ]
2+ rustflags = [" -C" , " link-args=-undefined dynamic_lookup" ]
You can’t perform that action at this time.
0 commit comments