Skip to content

Commit 2d25438

Browse files
authored
Create test-hashmap.yml
1 parent 0241ed5 commit 2d25438

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

.github/workflows/test-hashmap.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: C/C++ CI
2+
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
pull_request:
7+
branches: [ "master" ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
- name: install-valgrind
16+
run: sudo apt update && sudo apt install -y valgrind
17+
- name: make
18+
run: make test_hashmap
19+
- name: test
20+
run: valgrind --leak-check=full --error-exitcode=1 ./test_hashmap

0 commit comments

Comments
 (0)