Skip to content

Add JS plugins

Add JS plugins #723

Workflow file for this run

name: build
on:
push:
branches: [ release, main, dev ]
workflow_dispatch:
pull_request:
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release
jobs:
build-win:
runs-on: [windows-latest]
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
build-macos:
runs-on: [macos-13] # avoid ARM for now - https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
# https://github.com/dotnet/runtime/issues/82240
# temporarily install pkg-config via brew
# - name: Install pkg-config
# run: |
# # brew update
# brew install pkg-config
# brew upgrade
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
build-ubuntu:
runs-on: [ubuntu-latest]
env:
CC: gcc-10
CXX: g++-10
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Update
run: sudo apt-get update
- name: Install libx11-dev
run: sudo apt-get install libx11-dev
- name: GCC & G++ multilib
run: sudo apt-get install g++-multilib gcc-multilib -y
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}