add drone step for macos arm64 #88
|
@ -164,8 +164,8 @@ steps:
|
||||||
- make libCwtch.x64.dylib
|
- make libCwtch.x64.dylib
|
||||||
- name: build-macos-arm64
|
- name: build-macos-arm64
|
||||||
when:
|
when:
|
||||||
#event:
|
event:
|
||||||
# - push
|
- push
|
||||||
status: [ success ]
|
status: [ success ]
|
||||||
commands:
|
commands:
|
||||||
- export PATH=$PATH:/usr/local/go/bin/
|
- export PATH=$PATH:/usr/local/go/bin/
|
||||||
|
|
|
@ -6,6 +6,7 @@ C-bindings for the Go Cwtch Library.
|
||||||
make linux
|
make linux
|
||||||
make android
|
make android
|
||||||
make windows
|
make windows
|
||||||
|
make macos
|
||||||
|
|
||||||
## Android Build Notes
|
## Android Build Notes
|
||||||
|
|
||||||
|
@ -16,6 +17,12 @@ Go 1.17.4, NDK 22.1.7171670, and gomobile 4e6c2922fdeed32d3596616518aaee7b0d79ce
|
||||||
|
|
||||||
Other version combinations untested and some definitely do not work.
|
Other version combinations untested and some definitely do not work.
|
||||||
|
|
||||||
|
## Windows
|
||||||
|
|
||||||
|
Cwtch relies on sqlite which in turn requires the use of CGO. As per [this issue](https://github.com/golang/go/issues/12029)
|
||||||
|
that means [TDM-GCC](https://jmeubank.github.io/tdm-gcc/download/) is required to be installed and used to compile on Windows.
|
||||||
|
Install it and add it to your path and `make windows` should then work.
|
||||||
|
|
||||||
## Experimental iOS support
|
## Experimental iOS support
|
||||||
make ios
|
make ios
|
||||||
|
|
||||||
|
@ -43,4 +50,4 @@ written to `stdout` when `DebugInfo()` is called.
|
||||||
|
|
||||||
## MacOS
|
## MacOS
|
||||||
|
|
||||||
- copy libCwtch.dylib into the directory you are executing from
|
- copy libCwtch.x64.dylib and libCwtch.arm.dylib into the directory you are executing from
|
||||||
|
|
Reference in New Issue