[Glint/Sema] sizeof/alignof bugfixes
#98
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: CI build and test | |
| on: [push, pull_request] | |
| defaults: | |
| run: | |
| shell: bash | |
| jobs: | |
| build-linux: | |
| if: ${{ !contains(github.event.head_commit.message, '[skip-ci]') }} | |
| runs-on: ubuntu-latest | |
| container: | |
| image: fedora:latest | |
| env: | |
| TESTS_SKIP: ${{ contains(github.event.head_commit.message, '[ci-skip-test-driver]') }} | |
| TESTS_RUN: ${{ !contains(github.event.head_commit.message, '[ci-skip-test-driver]') && contains(github.event.head_commit.message, '[ci-run-tests]') }} | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Install dependencies | |
| run: dnf install -y cmake gcc gcc-c++ git libstdc++-devel make | |
| - name: Build It | |
| run: | | |
| cmake -B bld -DUSE_LTO=OFF | |
| cmake --build bld --parallel | |
| - name: Build Test Suite | |
| if: ${{ env.TESTS_SKIP == 'false' }} | |
| run: | | |
| dnf install -y emacs-nw libcxx libcxx-devel libcxxabi libcxxabi-devel clang mingw64-gcc mingw64-gcc-c++ mingw64-libstdc++ | |
| cmake -S tst -B bldtst -DUSE_LTO=OFF -DLCC_TEST_NON_ZERO_EXIT_ON_FAILURE=ON | |
| cmake --build bldtst --parallel | |
| - name: Invoke Test Suite | |
| if: ${{ env.TESTS_RUN == 'true' }} | |
| run: cmake --build bldtst --target test --parallel | |
| - name: Verify Compilers | |
| if: ${{ env.TESTS_SKIP == 'false' }} | |
| run: cmake --build bldtst --target verify_compilers --parallel | |
| build-windows: | |
| if: ${{ !contains(github.event.head_commit.message, '[skip-ci]') }} | |
| runs-on: windows-latest | |
| defaults: | |
| run: | |
| shell: pwsh | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Build It (clang) | |
| run: | | |
| cmake -G Ninja -B bldclang -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -DCMAKE_CXX_SCAN_FOR_MODULES=OFF -DFMT_MODULE=OFF -DUSE_LTO=OFF | |
| cmake --build bldclang --parallel | |
| - name: Build It (MSVC) | |
| run: | | |
| cmake -B bldmsvc -DCMAKE_CXX_SCAN_FOR_MODULES=OFF -DFMT_MODULE=OFF -DUSE_LTO=OFF | |
| cmake --build bldmsvc --parallel |