File: ubuntu24-unsignedchar.yml

package info (click to toggle)
simdutf 8.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,524 kB
  • sloc: cpp: 64,498; ansic: 15,347; python: 3,592; sh: 366; makefile: 12
file content (34 lines) | stat: -rw-r--r-- 907 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Ubuntu 24.04 char signedness

on:
  push:
    branches:
      - master
  pull_request:
    branches:
      - master

jobs:
  ubuntu-build:
    runs-on: ubuntu-24.04
    strategy:
      matrix:
        compiler: [g++-14]
        cppversion: [11, 23]
        charflag: [-fsigned-char, -funsigned-char]
    steps:
      - uses: actions/checkout@v4
      - name: Build and test ${{matrix.charflag}} C++ ${{matrix.cppversion}}
        run: |
          cmake \
             -DCMAKE_CXX_FLAGS="${{matrix.charflag}}" \
             -DCMAKE_CXX_COMPILER=${{matrix.compiler}} \
             -DSIMDUTF_CXX_STANDARD=${{matrix.cppversion}} \
             -DSIMDUTF_BENCHMARKS=OFF \
             -DSIMDUTF_FAST_TESTS=On \
             -DCMAKE_BUILD_TYPE=Release \
             -GNinja \
             -B build \
             -S .
          cmake --build build
          ctest -j --output-on-failure --test-dir build