Drop unnecessary string copy #146
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: Continuous Integration | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| container: quay.io/centos/centos:stream9 | |
| env: | |
| CXX: g++ | |
| CXXFLAGS: -Werror -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_DEBUG -pthread -fsanitize=address,undefined | |
| LDFLAGS: -pthread -fsanitize=address,undefined | |
| steps: | |
| - name: Checkout git repository | |
| uses: actions/checkout@v6 | |
| - name: Install dependencies | |
| run: | | |
| dnf -y install epel-release | |
| dnf -y install diffutils gcc-toolset-12-gcc-c++ gcc-toolset-12-libasan-devel gcc-toolset-12-libubsan-devel make rubygem-asciidoctor | |
| - name: Build manpages | |
| run: make -j8 manpages | |
| - name: Compile | |
| run: | | |
| source /opt/rh/gcc-toolset-12/enable | |
| make -j8 test-compile | |
| - name: Test | |
| run: | | |
| source /opt/rh/gcc-toolset-12/enable | |
| make test |