fix: add UTF-16 encoding detection and conversion to prevent assertion failures #756
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: run units target on MSYS2 | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| testing: | |
| runs-on: windows-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| msystem: [MINGW32, MINGW64, CLANG64] | |
| defaults: | |
| run: | |
| shell: msys2 {0} | |
| steps: | |
| - uses: msys2/setup-msys2@v2 | |
| with: | |
| msystem: ${{ matrix.msystem }} | |
| update: true | |
| install: automake autoconf make dos2unix pkg-config | |
| pacboy: toolchain:p python-sphinx:p jansson:p libxml2:p libyaml:p pcre2:p | |
| - run: git config --global core.autocrlf input | |
| shell: bash | |
| - uses: actions/checkout@v5 | |
| - run: ./autogen.sh | |
| - run: ./configure --prefix=/usr | |
| - run: make V=1 | |
| - run: make install | |
| - run: file /usr/bin/ctags | |
| - run: ctags --version | |
| - run: make check V=1 | |
| # FAILED: "./readtags.exe" -t "/d/a/ctags2/ctags2/Units/parser-asciidoc.r/utf8-asciidoc.d/expected.tags" - "@Ѐ–𐀀" | |
| # The raw tag name was "@Ѐ–𐀀" | |
| #- run: make roundtrip | |
| - run: make tmain | |
| - run: make units |