Skip to content

Commit 0ac1976

Browse files
authored
Merge pull request #3 from Debashis08/release
Release
2 parents dca5e1c + 2e86a2e commit 0ac1976

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

.github/workflows/dsa-ci.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: DSA-CI
2+
3+
on:
4+
push:
5+
branches: [ main, release ]
6+
pull_request:
7+
branches: [ main, release ]
8+
9+
jobs:
10+
build-and-test:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout code
15+
uses: actions/checkout@v3
16+
17+
- name: Install dependencies
18+
run: sudo apt-get update && sudo apt-get install -y cmake libgtest-dev
19+
20+
- name: Configure CMake
21+
run: cmake -S . -B build
22+
23+
- name: Build
24+
run: cmake --build build
25+
26+
- name: Run tests
27+
run: ctest --test-dir build --output-on-failure

SourceCodes/0003_Graph/0001_BreadthFirstSearch.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#include<iostream>
33
#include<queue>
44
#include<string>
5+
#include<climits>
56
using namespace std;
67

78
Node::Node(char value)

0 commit comments

Comments
 (0)