Skip to content

Commit a6b841d

Browse files
committed
added CI
1 parent 3ecbbb1 commit a6b841d

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -1 +1,34 @@
1+
name: UTF-8 String C++ CI
12

3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout repository
15+
uses: actions/checkout@v3
16+
17+
- name: Update System
18+
run: sudo apt -y update
19+
20+
- name: Configure CMake
21+
run: |
22+
mkdir build
23+
cd build
24+
cmake -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ ..
25+
26+
- name: Build App
27+
run: |
28+
cd build
29+
cmake --build .
30+
31+
- name: Running Tests
32+
run: |
33+
cd build/tests
34+
./Tests

0 commit comments

Comments
 (0)