Tests: add ARM Cortex A72 #53
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
name: Build (Linux) | |
on: | |
push: | |
branches: | |
- '*' | |
pull_request: | |
branches: | |
- '*' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build_linux: | |
name: Build on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: | |
- ubuntu-20.04 | |
- ubuntu-22.04 | |
- ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Generate build system | |
run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX="" -DLIBCPUID_ENABLE_TESTS=ON | |
- name: Build | |
run: cmake --build build | |
- name: Run cpuid_tool | |
run: | | |
./build/cpuid_tool/cpuid_tool --save=- --all | |
sudo ./build/cpuid_tool/cpuid_tool --rdmsr-raw --rdmsr | |
- name: Run tests | |
run: | | |
make -C build consistency | |
make -C build test-old | |
- name: Install | |
run: cmake --install build | |
env: | |
DESTDIR: ${{ github.workspace }}/installdir |