Skip to content

Commit

Permalink
Merge pull request #117 from dunglas/ci/gha
Browse files Browse the repository at this point in the history
ci: switch to GitHub Actions
  • Loading branch information
Pithikos authored Dec 18, 2023
2 parents b80f3b7 + 22092e7 commit c5ba1c0
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 40 deletions.
4 changes: 0 additions & 4 deletions .circleci/Dockerfile

This file was deleted.

4 changes: 0 additions & 4 deletions .circleci/README.md

This file was deleted.

31 changes: 0 additions & 31 deletions .circleci/config.yml

This file was deleted.

26 changes: 26 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Tests

on:
push:
pull_request:

jobs:
test-normal-compile:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Valgrind
run: sudo apt-get install -y valgrind
- name: Run tests with standard compilation flags
working-directory: tests/
run: ./normal_compile.sh

test-optimized-compile:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Valgrind
run: sudo apt-get install -y valgrind
- name: Run tests with optimized compilation flags
working-directory: tests/
run: ./optimized_compile.sh
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![CircleCI](https://circleci.com/gh/Pithikos/C-Thread-Pool.svg?style=svg)](https://circleci.com/gh/Pithikos/C-Thread-Pool)
[[![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)

# C Thread Pool

Expand Down

0 comments on commit c5ba1c0

Please sign in to comment.