Skip to content

Commit 384db0b

Browse files
committed
Updated build action to include Lab1 & Lab2 targets.
1 parent 3d1718c commit 384db0b

1 file changed

Lines changed: 6 additions & 10 deletions

File tree

.github/workflows/build.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,11 @@ jobs:
1313
- uses: actions/checkout@v3
1414
- name: Install dependencies
1515
run: sudo apt-get update && sudo apt-get install -y make gcc gcovr build-essential
16-
- name: Build
16+
- name: Build and Run Lab1
1717
run: |
18-
cd Lab1
19-
make all
20-
- name: Run unit tests
18+
make -C Lab1
19+
./Lab1/Lab1
20+
- name: Build and Run Lab2
2121
run: |
22-
cd Lab1
23-
./Lab1
24-
- name: Run unit tests
25-
run: |
26-
cd Lab2
27-
./Lab2
22+
make -C Lab2
23+
./Lab2/Lab2

0 commit comments

Comments
 (0)