File: macos-latest.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 (29 lines) | stat: -rw-r--r-- 865 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
name: macos-latest Sanitized CI

on:
  push:

jobs:
  macos-build:
    runs-on: macos-latest
    strategy:
      matrix:
        include:
          - {shared: ON}
          - {shared: OFF}
    steps:
      - uses: actions/checkout@v4
      - name: Use cmake
        run: |
          mkdir build
          cd build
          cmake -DCMAKE_CXX_FLAGS=-Werror -DSIMDUTF_FAST_TESTS=On -DCMAKE_CXX_STANDARD=17 -DCMAKE_INSTALL_PREFIX:PATH=destination -DBUILD_SHARED_LIBS=${{matrix.shared}} ..   -DSIMDUTF_BENCHMARKS=OFF
          cmake --build . --parallel
          ctest --output-on-failure --parallel
          cmake --install .
          cd ../tests/installation_tests/find
          mkdir build
          cd build
          cmake -DCMAKE_CXX_STANDARD=17 -DCMAKE_INSTALL_PREFIX:PATH=../../../build/destination ..
          cmake --build . --parallel
          ./repro