Skip to content

Make the project build #74

Make the project build

Make the project build #74

Workflow file for this run

name: Continuous Integration
on:
push:
branches:
- master
pull_request:
jobs:
main:
name: Build and test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
- name: install system dependencies
run: |
sudo apt-get update && sudo apt-get install -y clang-format cproto git cmake python3 curl libtinfo5
npm install -g clang-tools-prebuilt
- name: install build tools
run: |
git clone https://github.com/emscripten-core/emsdk.git
cd emsdk && ./emsdk install latest && ./emsdk activate latest && source ./emsdk_env.sh && cd ..
- name: install dependencies and build
run: |
npm install
make build
- name: test
run: |
npm test