File: armv7.yml

package info (click to toggle)
simdutf 7.7.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,244 kB
  • sloc: cpp: 60,074; ansic: 14,226; python: 3,364; sh: 321; makefile: 12
file content (32 lines) | stat: -rw-r--r-- 927 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
name: Ubuntu armv7 (GCC 11)

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

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: uraimo/run-on-arch-action@v3
        name: Test
        id: runcmd
        with:
          arch: armv7
          githubToken: ${{ github.token }}
          distro: ubuntu24.04
          install: |
            apt-get update -q -y
            apt-get install -y cmake make g++
          run: |
            cmake -B build -DSIMDUTF_FAST_TESTS=On
            cmake --build build -j=$(nproc)
            ctest --output-on-failure --test-dir build -j=$(nproc)
            cmake -DCMAKE_CXX_FLAGS="-fstack-protector-strong -fno-strict-aliasing" -B buildprotected -DSIMDUTF_FAST_TESTS=On
            cmake --build buildprotected -j=$(nproc)
            ctest --output-on-failure --test-dir buildprotected -j=$(nproc)