Skip to content

Commit c5ba1c0

Browse files
authored
Merge pull request #117 from dunglas/ci/gha
ci: switch to GitHub Actions
2 parents b80f3b7 + 22092e7 commit c5ba1c0

File tree

5 files changed

+27
-40
lines changed

5 files changed

+27
-40
lines changed

.circleci/Dockerfile

-4
This file was deleted.

.circleci/README.md

-4
This file was deleted.

.circleci/config.yml

-31
This file was deleted.

.github/workflows/tests.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Tests
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
test-normal-compile:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v3
12+
- name: Install Valgrind
13+
run: sudo apt-get install -y valgrind
14+
- name: Run tests with standard compilation flags
15+
working-directory: tests/
16+
run: ./normal_compile.sh
17+
18+
test-optimized-compile:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- uses: actions/checkout@v3
22+
- name: Install Valgrind
23+
run: sudo apt-get install -y valgrind
24+
- name: Run tests with optimized compilation flags
25+
working-directory: tests/
26+
run: ./optimized_compile.sh

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![CircleCI](https://circleci.com/gh/Pithikos/C-Thread-Pool.svg?style=svg)](https://circleci.com/gh/Pithikos/C-Thread-Pool)
1+
[[![GitHub Actions](https://github.com/Pithikos/C-Thread-Pool/workflows/tests/badge.svg?branch=master)](https://github.com/api-platform/core/actions?query=workflow%3Atests+branch%3Amaster)
22

33
# C Thread Pool
44

0 commit comments

Comments
 (0)