Rename ostream_reducer.h to ostream_reducer as a C++-only header #127
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: Hand-compiled tests | |
| permissions: | |
| contents: read | |
| on: | |
| workflow_dispatch: | |
| push: | |
| pull_request: | |
| concurrency: | |
| # Skip intermediate builds: always. | |
| # Cancel intermediate builds: only if it is a pull request build. | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} | |
| jobs: | |
| handcomp_test: | |
| runs-on: ${{ matrix.os }} | |
| container: | |
| image: ${{(startsWith(matrix.os, 'ubuntu') && 'ghcr.io/llvm/ci-ubuntu-22.04:latest') || null}} | |
| volumes: | |
| - /mnt/:/mnt/ | |
| options: --user root | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest] | |
| steps: | |
| - name: checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup OpenCilk compiler | |
| id: build-opencilk | |
| uses: OpenCilk/actions/build-opencilk-project@main | |
| with: | |
| projects: clang | |
| extra_cmake_args: -DLLVM_TARGETS_TO_BUILD=host | |
| os_list: '${{ matrix.os }}' | |
| - name: make | |
| shell: bash | |
| run: | | |
| opencilkdir=${{ steps.build-opencilk.outputs.opencilk-builddir }} | |
| COMPILER_BASE=$opencilkdir/bin/ make | |
| - name: make check | |
| shell: bash | |
| run: | |
| opencilkdir=${{ steps.build-opencilk.outputs.opencilk-builddir }} | |
| COMPILER_BASE=$opencilkdir/bin/ make -C handcomp_test check |