Linux #89
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: Linux Build | |
on: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout" | |
uses: actions/[email protected] | |
with: | |
submodules: "recursive" | |
- name: Install LLVM and Clang | |
uses: KyleMayes/[email protected] | |
with: | |
version: "14" | |
env: true | |
- name: Install Rust | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
targets: "x86_64-pc-windows-msvc, wasm32-unknown-emscripten" | |
- name: Install bindgen | |
run: cargo install cbindgen | |
- name: Run CMake | |
uses: threeal/[email protected] | |
with: | |
run-build: true | |
source-dir: build/Linux | |
build-dir: build/Linux/Release | |
options: "CMAKE_BUILD_TYPE=Release" | |
build-args: "--config Release" |