Skip to content

Update

Update #127

Workflow file for this run

# Build the emulator using make and count source lines of code with cloc
name: Build
on:
push:
workflow_dispatch:
inputs:
message:
description: Message to display in job summary
required: false
type: string
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: install cloc
run: |
git clone https://github.com/AlDanial/cloc.git
echo '```' >$GITHUB_STEP_SUMMARY
./cloc/cloc --exclude-lang=Text src tools | tee -a $GITHUB_STEP_SUMMARY
echo '```' >>$GITHUB_STEP_SUMMARY
- name: make clean
run: |
make clean
- name: make verbose
run: |
make verbose
- name: Print the job summary
if: ${{ inputs.message }}
run: |
echo ${{ inputs.message }} >>$GITHUB_STEP_SUMMARY