Skip to content

remove unused operator from grammar token #317

remove unused operator from grammar token

remove unused operator from grammar token #317

Workflow file for this run

name: CMake m
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Debug
jobs:
build:
# The CMake configure and build commands are platform agnostic and should work equally well on Windows or Mac.
# You can convert this to a matrix build if you need cross-platform coverage.
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
runs-on: ubuntu-22.04
strategy:
matrix:
node-version: [18.15]
steps:
#use nodes now
- name: Use node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install LLVM & LLD
run: |
sudo apt install lld llvm
clang --version
llvm-config --version
- name: Checkout repository and submodules
uses: actions/checkout@v2
with:
submodules: recursive
- name: run npm ci
run: |
cd ${{github.workspace}}
npm ci
- name: Build wasi-libc
run: (cd ${{github.workspace}}/extern/wasi-libc && make)
- name: download libclang_rt.builtins-wasm32-wasi
run: |
wget https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-14/libclang_rt.builtins-wasm32-wasi-14.0.tar.gz
sudo tar xzvf libclang_rt.builtins-wasm32-wasi-14.0.tar.gz
rm -r -f libclang_rt.builtins-wasm32-wasi-14.0.tar.gz
- name: Configure CMake
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
- name: Build m & run test
# Build your program with the given configuration
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}