Skip to content

Commit 59724e9

Browse files
committed
Merge branch 'master' of github.com:eteran/cpp-utilities
2 parents 0b19848 + 93d3014 commit 59724e9

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,15 @@ jobs:
1010
strategy:
1111
matrix:
1212
# @see https://stackoverflow.com/a/68940067
13-
compiler: [{cc: gcc, cxx: g++}]
13+
compiler: [{cc: clang-15, cxx: clang++-15}, {cc: gcc, cxx: g++}]
1414
std: [14, 17]
1515
steps:
1616
- uses: actions/checkout@v3
1717

1818
- name: Install dependencies
1919
run: |
20-
sudo apt-get -y update && sudo apt-get -y install \
20+
sudo apt-get -y update && sudo apt-get -y install \
21+
clang-15 \
2122
libboost-all-dev
2223
2324
- name: Configure

fixed/test/fixed.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#include <cpp-utilities/fixed.h>
22
#include <iostream>
33
#include <cassert>
4+
#include <cstdlib>
45

56
using fixed = numeric::fixed<16, 16>;
67

@@ -62,4 +63,6 @@ int main() {
6263

6364
// conversion test
6465
assert(fixed(0x8000).to_uint() == 0x8000);
66+
67+
return EXIT_SUCCESS;
6568
}

0 commit comments

Comments
 (0)