Skip to content

Commit

Permalink
Resolve Conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
undefined-ux committed Dec 11, 2023
2 parents de9825a + 4550775 commit a77a2f1
Show file tree
Hide file tree
Showing 11 changed files with 49 additions and 76 deletions.
46 changes: 46 additions & 0 deletions .github/workflows/build-ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
on:
workflow_dispatch:
push:
branches:
- master


jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: build
run: |
mkdir build && cd build && cmake .. && make
- uses: actions/upload-artifact@v3
with:
name: linux
path: build/json
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@master
- name: set up Msys2
uses: msys2/setup-msys2@v2
with:
msystem: ucrt64
install: >-
libiconv-devel
cmake
gcc
ninja
pkg-config
- name: build
shell: msys2 {0}
run: |
mkdir build && cd build
cmake -G Ninja -DCMAKE_BUILD_TYPE=DEBUG .. && cmake --build .
pwd && ls
cd .. && pwd && ls
- uses: actions/upload-artifact@v3
with:
name: windows
path: build/json.exe

8 changes: 0 additions & 8 deletions .idea/.gitignore

This file was deleted.

1 change: 0 additions & 1 deletion .idea/.name

This file was deleted.

28 changes: 0 additions & 28 deletions .idea/editor.xml

This file was deleted.

21 changes: 0 additions & 21 deletions .idea/encodings.xml

This file was deleted.

2 changes: 0 additions & 2 deletions .idea/json-parser-homework.iml

This file was deleted.

4 changes: 0 additions & 4 deletions .idea/misc.xml

This file was deleted.

8 changes: 0 additions & 8 deletions .idea/modules.xml

This file was deleted.

3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@

## json解析器

[下载](https://github.com/undefined-ux/json-parser-homework/releases)

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

[文档](https://undefined-ux.github.io/json-parser-homework)
### 命令行版本
Expand Down
2 changes: 1 addition & 1 deletion cutest/CuTest.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include <string.h>
#include <math.h>

#include "CuTest.h_bak"
#include "CuTest.h"

/*-------------------------------------------------------------------------*
* CuStr
Expand Down
2 changes: 1 addition & 1 deletion test/stringTest.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "..\cutest\CuTest.h_bak"
#include "CuTest.h"

int main() {

Expand Down

0 comments on commit a77a2f1

Please sign in to comment.