mirror of
https://github.com/anrieff/libcpuid
synced 2024-12-26 16:55:45 +00:00
CI: set run shell for *BSD
/usr/local/bin/bash is a wrapper around 'vagrant ssh' using Bash
This commit is contained in:
parent
7a03559d3a
commit
cec3e8cacc
3 changed files with 18 additions and 0 deletions
6
.github/workflows/build_dragonflybsd.yml
vendored
6
.github/workflows/build_dragonflybsd.yml
vendored
|
@ -28,24 +28,30 @@ jobs:
|
|||
|
||||
- name: Install packages
|
||||
run: sudo pkg install --yes cmake python3
|
||||
shell: /usr/local/bin/bash --noprofile --norc -euo pipefail {0}
|
||||
|
||||
- name: Generate build system
|
||||
run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX="" -DLIBCPUID_ENABLE_TESTS=ON
|
||||
shell: /usr/local/bin/bash --noprofile --norc -euo pipefail {0}
|
||||
|
||||
- name: Build
|
||||
run: cmake --build build
|
||||
shell: /usr/local/bin/bash --noprofile --norc -euo pipefail {0}
|
||||
|
||||
- name: Run cpuid_tool
|
||||
run: |
|
||||
./build/cpuid_tool/cpuid_tool --save=- --all
|
||||
sudo ./build/cpuid_tool/cpuid_tool --rdmsr-raw --rdmsr
|
||||
shell: /usr/local/bin/bash --noprofile --norc -euo pipefail {0}
|
||||
|
||||
- name: Run tests
|
||||
run: |
|
||||
make -C build consistency
|
||||
make -C build test-old
|
||||
shell: /usr/local/bin/bash --noprofile --norc -euo pipefail {0}
|
||||
|
||||
- name: Install
|
||||
run: cmake --install build
|
||||
env:
|
||||
DESTDIR: ${{ github.workspace }}/installdir
|
||||
shell: /usr/local/bin/bash --noprofile --norc -euo pipefail {0}
|
||||
|
|
6
.github/workflows/build_freebsd.yml
vendored
6
.github/workflows/build_freebsd.yml
vendored
|
@ -29,24 +29,30 @@ jobs:
|
|||
|
||||
- name: Install packages
|
||||
run: sudo pkg install --yes cmake python3
|
||||
shell: /usr/local/bin/bash --noprofile --norc -euo pipefail {0}
|
||||
|
||||
- name: Generate build system
|
||||
run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX="" -DLIBCPUID_ENABLE_TESTS=ON
|
||||
shell: /usr/local/bin/bash --noprofile --norc -euo pipefail {0}
|
||||
|
||||
- name: Build
|
||||
run: cmake --build build
|
||||
shell: /usr/local/bin/bash --noprofile --norc -euo pipefail {0}
|
||||
|
||||
- name: Run cpuid_tool
|
||||
run: |
|
||||
./build/cpuid_tool/cpuid_tool --save=- --all
|
||||
sudo ./build/cpuid_tool/cpuid_tool --rdmsr-raw --rdmsr
|
||||
shell: /usr/local/bin/bash --noprofile --norc -euo pipefail {0}
|
||||
|
||||
- name: Run tests
|
||||
run: |
|
||||
make -C build consistency
|
||||
make -C build test-old
|
||||
shell: /usr/local/bin/bash --noprofile --norc -euo pipefail {0}
|
||||
|
||||
- name: Install
|
||||
run: cmake --install build
|
||||
env:
|
||||
DESTDIR: ${{ github.workspace }}/installdir
|
||||
shell: /usr/local/bin/bash --noprofile --norc -euo pipefail {0}
|
||||
|
|
6
.github/workflows/build_openbsd.yml
vendored
6
.github/workflows/build_openbsd.yml
vendored
|
@ -28,22 +28,28 @@ jobs:
|
|||
|
||||
- name: Install packages
|
||||
run: sudo pkg_add -I cmake python3
|
||||
shell: /usr/local/bin/bash --noprofile --norc -euo pipefail {0}
|
||||
|
||||
- name: Generate build system
|
||||
run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX="" -DLIBCPUID_ENABLE_TESTS=ON
|
||||
shell: /usr/local/bin/bash --noprofile --norc -euo pipefail {0}
|
||||
|
||||
- name: Build
|
||||
run: cmake --build build
|
||||
shell: /usr/local/bin/bash --noprofile --norc -euo pipefail {0}
|
||||
|
||||
- name: Run cpuid_tool
|
||||
run: ./build/cpuid_tool/cpuid_tool --save=- --all
|
||||
shell: /usr/local/bin/bash --noprofile --norc -euo pipefail {0}
|
||||
|
||||
- name: Run tests
|
||||
run: |
|
||||
make -C build consistency
|
||||
make -C build test-old
|
||||
shell: /usr/local/bin/bash --noprofile --norc -euo pipefail {0}
|
||||
|
||||
- name: Install
|
||||
run: cmake --install build
|
||||
env:
|
||||
DESTDIR: ${{ github.workspace }}/installdir
|
||||
shell: /usr/local/bin/bash --noprofile --norc -euo pipefail {0}
|
||||
|
|
Loading…
Reference in a new issue