Init commit #1
This file contains hidden or 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: complaince_check.yml | |
| on: | |
| push: | |
| branches: [ main ] | |
| jobs: | |
| build: | |
| name: Build and test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install gcc | |
| run: | | |
| sudo apt update | |
| sudo apt install -y gcc | |
| gcc --version | |
| - name: Compile | |
| run: gcc -std=c17 -o sumcli -Wall -Wextra main.c | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v5 | |
| with: | |
| node-version: 20 | |
| - name: Test | |
| run: npx @microsoft/tui-test | |
| - name: Print test snapshots | |
| run: cat test/__snapshots__/*.snap |