diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 781b5117d..a4780906d 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -14,8 +14,6 @@ jobs: runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v2 - - name: ccache - uses: hendrikmuhs/ccache-action@v1.2 - name: Install ICU run: sudo apt-get install -y libicu-dev pkg-config - name: Install curl diff --git a/.github/workflows/ubuntu-sanitized.yml b/.github/workflows/ubuntu-sanitized.yml index 50849b385..a8545535b 100644 --- a/.github/workflows/ubuntu-sanitized.yml +++ b/.github/workflows/ubuntu-sanitized.yml @@ -19,8 +19,6 @@ jobs: shared: [ON, OFF] steps: - uses: actions/checkout@v3 - - name: ccache - uses: hendrikmuhs/ccache-action@v1.2 - name: Install ICU run: sudo apt-get install -y libicu-dev pkg-config - name: Setup Ninja diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index bc63f49ea..bd4464da1 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -20,8 +20,6 @@ jobs: cxx: [g++-12, clang++-14] steps: - uses: actions/checkout@v3 - - name: ccache - uses: hendrikmuhs/ccache-action@v1.2 - name: Install ICU run: sudo apt-get install -y libicu-dev pkg-config - name: Setup Ninja diff --git a/.github/workflows/ubuntu_install.yml b/.github/workflows/ubuntu_install.yml index 34cfcc15d..6e78ab1e0 100644 --- a/.github/workflows/ubuntu_install.yml +++ b/.github/workflows/ubuntu_install.yml @@ -16,8 +16,6 @@ jobs: runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v3 - - name: ccache - uses: hendrikmuhs/ccache-action@v1.2 - name: Install ICU run: sudo apt-get install -y libicu-dev pkg-config - name: Setup Ninja diff --git a/.github/workflows/ubuntu_old.yml b/.github/workflows/ubuntu_old.yml index 4c169e47d..5330ff308 100644 --- a/.github/workflows/ubuntu_old.yml +++ b/.github/workflows/ubuntu_old.yml @@ -20,8 +20,6 @@ jobs: cxx: [g++-9, clang++-10] steps: - uses: actions/checkout@v3 - - name: ccache - uses: hendrikmuhs/ccache-action@v1.2 - name: Clear the cache run: rm -r -f dependencies - name: Install ICU diff --git a/.github/workflows/ubuntu_pedantic.yml b/.github/workflows/ubuntu_pedantic.yml index 226f89999..ce9b28f35 100644 --- a/.github/workflows/ubuntu_pedantic.yml +++ b/.github/workflows/ubuntu_pedantic.yml @@ -19,8 +19,6 @@ jobs: shared: [ON, OFF] steps: - uses: actions/checkout@v3 - - name: ccache - uses: hendrikmuhs/ccache-action@v1.2 - name: Install ICU run: sudo apt-get install -y libicu-dev pkg-config - name: Setup Ninja diff --git a/.github/workflows/visual_studio.yml b/.github/workflows/visual_studio.yml index 84e35a0bc..8b5d8454a 100644 --- a/.github/workflows/visual_studio.yml +++ b/.github/workflows/visual_studio.yml @@ -17,8 +17,6 @@ jobs: steps: - name: checkout uses: actions/checkout@v3 - - name: ccache - uses: hendrikmuhs/ccache-action@v1.2 - name: Configure run: | cmake -G "${{matrix.gen}}" -A ${{matrix.arch}} -B build @@ -29,4 +27,4 @@ jobs: - name: Run Release tests run: | cd build - ctest -C Release --output-on-failure \ No newline at end of file + ctest -C Release --output-on-failure diff --git a/.github/workflows/visual_studio_clang.yml b/.github/workflows/visual_studio_clang.yml index f0a8444d6..48d434af0 100644 --- a/.github/workflows/visual_studio_clang.yml +++ b/.github/workflows/visual_studio_clang.yml @@ -17,8 +17,6 @@ jobs: steps: - name: checkout uses: actions/checkout@v3 - - name: ccache - uses: hendrikmuhs/ccache-action@v1.2 - name: Configure run: | cmake -G "${{matrix.gen}}" -A ${{matrix.arch}} -T ClangCL -B build diff --git a/.gitignore b/.gitignore index dfbdbea08..6912cf755 100644 --- a/.gitignore +++ b/.gitignore @@ -8,7 +8,8 @@ __pycache__ cmake-build-debug .cache -docs +docs/html +docs/theme # Generated using only the Github workflow benchmark_result.json diff --git a/CMakeLists.txt b/CMakeLists.txt index 6a4b05dda..24a012eab 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,17 +3,17 @@ cmake_minimum_required(VERSION 3.16) project(ada DESCRIPTION "Fast spec-compliant URL parser" LANGUAGES C CXX - VERSION 0.1.0 + VERSION 1.0.0 ) +set(ADA_LIB_VERSION "1.0.0" CACHE STRING "ada library version") +set(ADA_LIB_SOVERSION "1" CACHE STRING "ada library soversion") + include(GNUInstallDirs) include(CTest) include(cmake/ada-flags.cmake) -set(ADA_LIB_VERSION "0.1.0" CACHE STRING "ada library version") -set(ADA_LIB_SOVERSION "1" CACHE STRING "ada library soversion") - set(ADA_SOURCE_DIR src) add_subdirectory(src) diff --git a/docs/RELEASE.md b/docs/RELEASE.md new file mode 100644 index 000000000..a51ccf8d7 --- /dev/null +++ b/docs/RELEASE.md @@ -0,0 +1,19 @@ +# Release Document + +## Preparation + +In order to release a new version of Ada, please update the +following documents: + +- [CmakeLists.txt](../CmakeLists.txt) +- [Doxygen](../doxygen) +- [ada-version.h](../include/ada/ada-version.h) + +## Release + +- Run amalgation script using `./singleheader/amalgamate.py` +- Create a Github release with following format: `v1.0.0` +- Upload the following documents to the release + - `./singleheader/ada.h` + - `./singleheader/ada.cpp` + - `./singleheader/singleheader.zip` diff --git a/docs/doxygen/header.html b/docs/doxygen/header.html new file mode 100644 index 000000000..88c4029e4 --- /dev/null +++ b/docs/doxygen/header.html @@ -0,0 +1,84 @@ + + + +
+ + + + +