C++ compatibility fixes. #870
Workflow file for this run
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: Compile C++ | |
# yamllint disable-line rule:truthy | |
on: | |
pull_request: | |
paths: | |
- '**.h' | |
- '**.mq?' | |
push: | |
paths: | |
- '**.h' | |
- '**.mq?' | |
jobs: | |
Compile-Cpp: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install CPP compiler | |
uses: rlalik/[email protected] | |
with: | |
compiler: gcc-latest | |
- name: Compile via make | |
run: make | |
Compile-Emscripten: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Emscripten toolchain | |
uses: mymindstorm/setup-emsdk@v11 | |
- name: Compile via emcc | |
run: make CC=emcc |