Only print NUMA nodes if requested #168
Workflow file for this run
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: XDD CI | |
on: | |
push: | |
branches: [ "xdd-2.0" ] | |
pull_request: | |
branches: [ "*" ] | |
jobs: | |
test: | |
name: build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: apt update | |
run: sudo apt-get update | |
- uses: awalsh128/cache-apt-pkgs-action@latest | |
with: | |
packages: xfsprogs gnuplot net-tools numactl libnuma-dev xfslibs-dev bc time strace | |
version: 1.0 | |
- name: configure | |
run: cmake -B ${{github.workspace}}/build | |
- name: make | |
run: make -C ${{github.workspace}}/build | |
- name: make install | |
run: sudo make -C ${{github.workspace}}/build install | |
- name: run tests | |
run: ctest --output-on-failure | |
working-directory: ${{github.workspace}}/build | |
deb: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: apt update | |
run: sudo apt-get update | |
- uses: awalsh128/cache-apt-pkgs-action@latest | |
with: | |
packages: xfsprogs gnuplot net-tools numactl libnuma-dev xfslibs-dev bc time strace | |
version: 1.0 | |
- name: configure | |
run: cmake -B ${{github.workspace}}/build | |
- name: make | |
run: make -C ${{github.workspace}}/build | |
- name: build deb | |
run: make -C ${{github.workspace}}/build package | |
- name: install deb | |
run: sudo apt install -y ${{github.workspace}}/build/xdd-*.deb | |
- name: run tests | |
run: ctest --output-on-failure | |
working-directory: ${{github.workspace}}/build |