Test more stuff #177
This file contains 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
# | |
# Copyright 2020 - 2022 Free Software Foundation, Inc. | |
# | |
# This file is part of VOLK | |
# | |
# SPDX-License-Identifier: LGPL-3.0-or-later | |
# | |
name: Run VOLK tests | |
on: [push, pull_request] | |
jobs: | |
build-macos: | |
strategy: | |
matrix: | |
os: [macos-latest, flyci-macos-large-latest-m2] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/[email protected] | |
with: | |
submodules: 'recursive' | |
- name: dependencies | |
run: pip3 install mako | |
- name: Install ORC | |
run: brew install orc | |
- name: configure | |
run: mkdir build && cd build && cmake -DBUILD_EXECUTABLE=ON -DVOLK_CPU_FEATURES=OFF .. | |
- name: build | |
run: cmake --build build -j3 | |
- name: Print info | |
run: | | |
./build/cpu_features/list_cpu_features | |
# ./build/apps/volk-config-info --alignment | |
# ./build/apps/volk-config-info --avail-machines | |
# ./build/apps/volk-config-info --all-machines | |
# ./build/apps/volk-config-info --malloc | |
# ./build/apps/volk-config-info --cc | |
- name: test | |
run: cd build && ctest -V | |
- name: test like Homebrew | |
run: cd build && apps/volk_profile --iter 10 |