add DifferentWaysToAddParentheses #306
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
on: [pull_request] | |
name: Frontend Build Check | |
jobs: | |
frontend_build_check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@stable | |
with: | |
toolchain: nightly | |
- name: Generate Rust Undeads Json | |
run: cargo run && cp ./undeads.json ../frontend/undeads_rust.json | |
working-directory: ./runtime-rs | |
- name: Install LLVM and Clang | |
uses: KyleMayes/install-llvm-action@v1 | |
with: | |
version: "13.0" | |
- name: Install Libs | |
run: sudo apt install libncurses5 | |
- name: Generate C++ Undeads Json | |
run: make && ./build/runtime && cp ./undeads.json ../frontend/undeads_cpp.json | |
working-directory: ./runtime-cc | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- uses: bahmutov/npm-install@v1 | |
with: | |
useLockFile: true | |
working-directory: ./frontend | |
- name: Build Check | |
run: yarn build | |
working-directory: ./frontend |