Skip to content

Commit

Permalink
add working-directory
Browse files Browse the repository at this point in the history
Signed-off-by: victoryang00 <yangyiwei2000@gmail.com>
  • Loading branch information
victoryang00 committed Aug 23, 2023
1 parent 83d8417 commit 0cc1e78
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release


jobs:
build:
# The CMake configure and build commands are platform agnostic and should work equally well on Windows or Mac.
Expand All @@ -24,7 +25,8 @@ jobs:
run: sudo apt install llvm-dev clang libbpf-dev libclang-dev python3-pip

- name: Install conan
run: pip3 install conan && conan profile detect && mkdir build && cd build && cp ../conanfile.txt && conan install .
working-directory: ${{github.workspace}}
run: pip3 install conan && conan profile detect && mkdir build && cd build && cp ../conanfile.txt . && conan install .

- name: Configure CMake
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
Expand Down

0 comments on commit 0cc1e78

Please sign in to comment.