Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #1

Merged
merged 25 commits into from
Jul 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
d74d22d
Remove unused docs.
ChenPi11 Jun 30, 2023
bfd31ea
Remove src, srclib, gnulib, po, man, tools.
ChenPi11 Jun 30, 2023
a7e42a8
Remove unused things.
ChenPi11 Jul 1, 2023
52368fc
Change 'COPYING.LIB' to 'COPYING'.
ChenPi11 Jul 1, 2023
cc2d323
Redist 'GNU LIBICONV' to 'cppp-reiconv'.
ChenPi11 Jul 1, 2023
530209c
Remove 'CHAR' and 'WCHAR_T' encoding and libcharset.
ChenPi11 Jul 1, 2023
9341db3
Remove autoconf buildsystem support.
ChenPi11 Jul 1, 2023
096e806
Move tests data to 'tests/data'
ChenPi11 Jul 1, 2023
9f1d350
Move to C++.
ChenPi11 Jul 2, 2023
6ac41cd
Prefect CMake support.
ChenPi11 Jul 2, 2023
285a2b9
Change COPYING to LGPLv3.
ChenPi11 Jul 2, 2023
af630fd
Remove translit and 'LIBICONV_PLUG'.
ChenPi11 Jul 2, 2023
04a3e58
Change definions in 'reiconv.hpp' to constexpr.
ChenPi11 Jul 2, 2023
09f0582
Remove function `iconv_open_into`
ChenPi11 Jul 3, 2023
89fe572
Add C++ Plus dist utils and change version info.
ChenPi11 Jul 3, 2023
6c6eae3
Update .gitignore.
ChenPi11 Jul 3, 2023
66f6b1c
Add GB18030 tests.
ChenPi11 Jul 3, 2023
241d85e
Update `FILELIST`.
ChenPi11 Jul 6, 2023
8713ca7
Update v2.0.0 news.
ChenPi11 Jul 6, 2023
9e4344d
Add function `cppp::base::reiconv::encode()`
ChenPi11 Jul 7, 2023
0de9bf3
Add install rules.
ChenPi11 Jul 7, 2023
2815476
Update `README.md` and move `NEWS` to 'NEWS.md'
ChenPi11 Jul 7, 2023
c611043
Update `ChangeLog`.
ChenPi11 Jul 7, 2023
e5920b0
Update `include/cppp/reiconv.hpp.in`.
ChenPi11 Jul 8, 2023
7ba0f07
Add GitHub test CI.
ChenPi11 Jul 8, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
59 changes: 59 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: Test

on:
release:
types: [published]
push:
branches: [ "main" ]
workflow_dispatch:

jobs:
test-linux:

runs-on: ubuntu-latest

steps:
#--------------------------------------------collect--------------------------------------------
- uses: actions/checkout@v3

- name: Collect dependencies
run: |
sudo apt-get update
sudo apt-get install gcc cmake -y

#--------------------------------------------build--------------------------------------------
- name: Build
run : |
mkdir build
cd build
cmake .. -DENABLE_EXTRA=ON -DENABLE_TEST=ON

#--------------------------------------------test--------------------------------------------
- name: Test
run : |
ctest --verbose --output-on-failure


test-macos:

runs-on: macos-latest

steps:
#--------------------------------------------collect--------------------------------------------
- uses: actions/checkout@v3

- name: Collect dependencies
run: |
brew install cmake -y

#--------------------------------------------build--------------------------------------------
- name: Build
run : |
mkdir build
cd build
cmake .. -DENABLE_EXTRA=ON -DENABLE_TEST=ON

#--------------------------------------------test--------------------------------------------
- name: Test
run : |
ctest --verbose --output-on-failure
Loading