improve to_ascii.cpp performance #166
This file contains 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: Ubuntu 22.04 | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
ubuntu-build: | |
if: >- | |
! contains(toJSON(github.event.commits.*.message), '[skip ci]') && | |
! contains(toJSON(github.event.commits.*.message), '[skip github]') | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
shared: [ON, OFF] | |
cxx: [g++-12, clang++-14] | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Prepare | |
run: cmake -DBUILD_SHARED_LIBS=${{matrix.shared}} -B build | |
env: | |
CXX: ${{matrix.cxx}} | |
- name: Build | |
run: cmake --build build | |
- name: Test | |
run: ctest --output-on-failure --test-dir build |