fix(event, factory): accept CBaseObject's as ptr #55
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Go Module | |
on: | |
push: | |
paths: | |
- "runtime/**" | |
branches: | |
- main | |
- dev | |
pull_request: | |
paths: | |
- "runtime/**" | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [ubuntu-20.04, windows-2019] | |
name: Build ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Build | |
if: matrix.os == 'windows-2019' | |
shell: cmd | |
run: | | |
mkdir build | |
pushd build | |
cmake -G"Visual Studio 16" -A x64 -DGO_MODULE_VERSION=%VERSION% .. | |
cmake --build . --config Release | |
popd | |
mkdir dist\go-module | |
copy bin\Release\go-module.dll dist\go-module | |
env: | |
VERSION: 0.1.0-dev.1 | |
working-directory: ./runtime | |
- name: Build | |
if: matrix.os == 'ubuntu-20.04' | |
run: | | |
sudo add-apt-repository ppa:ubuntu-toolchain-r/test | |
sudo apt-get update | |
sudo apt-get install gcc-8 g++-8 | |
mkdir build && cd build | |
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=g++-8 -DGO_MODULE_VERSION=%VERSION% .. | |
cmake --build . --config Release | |
cd .. | |
mkdir -p dist/go-module | |
cp ./bin/libgo-module.so dist/go-module | |
env: | |
VERSION: ${{ steps.version.outputs.VERSION }} | |
working-directory: ./runtime |