Lines Matching +full:working +full:- +full:directory
1 name: build-and-test-perfcounters
13 runs-on: ${{ matrix.os }}
15 fail-fast: false
17 os: [ubuntu-latest, ubuntu-20.04]
20 - uses: actions/checkout@v2
22 - name: install libpfm
23 run: sudo apt -y install libpfm4-dev
25 - name: setup cmake
26 uses: jwlawson/actions-setup-cmake@v1.9
28 cmake-version: '3.5.1'
30 - name: create build environment
31 run: cmake -E make_directory ${{ runner.workspace }}/_build
33 - name: configure cmake
35 working-directory: ${{ runner.workspace }}/_build
38 -DBENCHMARK_ENABLE_LIBPFM=1
39 -DBENCHMARK_DOWNLOAD_DEPENDENCIES=ON
40 -DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
42 - name: build
44 working-directory: ${{ runner.workspace }}/_build
45 run: cmake --build . --config ${{ matrix.build_type }}
50 # - name: test
52 # working-directory: ${{ runner.workspace }}/_build
53 # run: ctest -C ${{ matrix.build_type }} --rerun-failed --output-on-failure
55 ubuntu-16_04:
56 name: ubuntu-16.04.${{ matrix.build_type }}
57 runs-on: [ubuntu-latest]
59 fail-fast: false
64 - uses: actions/checkout@v2
66 - name: install required bits
69 apt -y install clang cmake g++ git
71 - name: install libpfm
72 run: apt -y install libpfm4-dev
74 - name: create build environment
75 run: cmake -E make_directory $GITHUB_WORKSPACE/_build
77 - name: configure cmake
79 working-directory: ${{ github.workspace }}/_build
82 -DBENCHMARK_ENABLE_LIBPFM=1
83 -DBENCHMARK_DOWNLOAD_DEPENDENCIES=ON
84 -DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
86 - name: build
88 working-directory: ${{ github.workspace }}/_build
89 run: cmake --build . --config ${{ matrix.build_type }}
94 # - name: test
96 # working-directory: ${{ runner.workspace }}/_build
97 # run: ctest -C ${{ matrix.build_type }} --rerun-failed --output-on-failure