Skip to content

Commit a77a2f1

Browse files
committed
Resolve Conflict
2 parents de9825a + 4550775 commit a77a2f1

File tree

11 files changed

+49
-76
lines changed

11 files changed

+49
-76
lines changed

.github/workflows/build-ci.yaml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
on:
2+
workflow_dispatch:
3+
push:
4+
branches:
5+
- master
6+
7+
8+
jobs:
9+
build-linux:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@master
13+
- name: build
14+
run: |
15+
mkdir build && cd build && cmake .. && make
16+
- uses: actions/upload-artifact@v3
17+
with:
18+
name: linux
19+
path: build/json
20+
build-windows:
21+
runs-on: windows-latest
22+
steps:
23+
- uses: actions/checkout@master
24+
- name: set up Msys2
25+
uses: msys2/setup-msys2@v2
26+
with:
27+
msystem: ucrt64
28+
install: >-
29+
libiconv-devel
30+
cmake
31+
gcc
32+
ninja
33+
pkg-config
34+
35+
- name: build
36+
shell: msys2 {0}
37+
run: |
38+
mkdir build && cd build
39+
cmake -G Ninja -DCMAKE_BUILD_TYPE=DEBUG .. && cmake --build .
40+
pwd && ls
41+
cd .. && pwd && ls
42+
- uses: actions/upload-artifact@v3
43+
with:
44+
name: windows
45+
path: build/json.exe
46+

.idea/.gitignore

Lines changed: 0 additions & 8 deletions
This file was deleted.

.idea/.name

Lines changed: 0 additions & 1 deletion
This file was deleted.

.idea/editor.xml

Lines changed: 0 additions & 28 deletions
This file was deleted.

.idea/encodings.xml

Lines changed: 0 additions & 21 deletions
This file was deleted.

.idea/json-parser-homework.iml

Lines changed: 0 additions & 2 deletions
This file was deleted.

.idea/misc.xml

Lines changed: 0 additions & 4 deletions
This file was deleted.

.idea/modules.xml

Lines changed: 0 additions & 8 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22

33
## json解析器
44

5-
[下载](https://github.com/undefined-ux/json-parser-homework/releases)
6-
5+
[下载](https://github.com/undefined-ux/json-parser-homework/releases) [CI构建](https://github.com/undefined-ux/json-parser-homework/actions)
76

87
[文档](https://undefined-ux.github.io/json-parser-homework)
98
### 命令行版本

cutest/CuTest.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#include <string.h>
99
#include <math.h>
1010

11-
#include "CuTest.h_bak"
11+
#include "CuTest.h"
1212

1313
/*-------------------------------------------------------------------------*
1414
* CuStr

0 commit comments

Comments
 (0)