Skip to content

Update README.md

Update README.md #19

Workflow file for this run

name: C++ CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up dependencies
run: |
sudo apt-get update
sudo apt-get install -y g++ make
- name: Build
run: |
make
- name: Run executable
run: |
# Example execution; adjust arguments as needed
./lab4 trace 1,2-4,3 100 3 \
P1,0,5 P2,2,3 P3,4,2
- name: Test the build artifacts
run: |
# Verify that the executable exists and is executable
if [ ! -x ./lab4 ]; then
echo "Executable not found or not executable"
exit 1
fi