File: aarch64.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 (39 lines) | stat: -rw-r--r-- 1,034 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
35
36
37
38
39
name: Ubuntu aarch64

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

jobs:
  build-22:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        cxxversion: [11, 17, 20]
        compiler: [g++, clang++-19]
    steps:
      - uses: actions/checkout@v4
      - uses: uraimo/run-on-arch-action@v3
        name: Test
        id: runcmd
        with:
          arch: aarch64
          githubToken: ${{ github.token }}
          distro: ubuntu24.04
          install: |
            apt-get update -q -y
            apt-get install -y cmake make g++ clang-19
          run: |
            cmake \
               -DCMAKE_BUILD_TYPE=Release \
               -DCMAKE_CXX_COMPILER=${{ matrix.compiler }} \
               -DSIMDUTF_ALWAYS_INCLUDE_FALLBACK=ON \
               -DSIMDUTF_FAST_TESTS=On \
               -DSIMDUTF_CXX_STANDARD=${{ matrix.cxxversion }} \
               -B build
            cmake --build build -j=$(nproc)
            ctest --output-on-failure --test-dir build -j=$(nproc)