diff --git a/.github/workflows/build_dragonflybsd.yml b/.github/workflows/build_dragonflybsd.yml index 47b0779..4ef99b5 100644 --- a/.github/workflows/build_dragonflybsd.yml +++ b/.github/workflows/build_dragonflybsd.yml @@ -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} diff --git a/.github/workflows/build_freebsd.yml b/.github/workflows/build_freebsd.yml index bf53826..95baa90 100644 --- a/.github/workflows/build_freebsd.yml +++ b/.github/workflows/build_freebsd.yml @@ -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} diff --git a/.github/workflows/build_openbsd.yml b/.github/workflows/build_openbsd.yml index 9e86825..8bac8a1 100644 --- a/.github/workflows/build_openbsd.yml +++ b/.github/workflows/build_openbsd.yml @@ -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}