From aff7f3ed56fcdc4b7e6185ba8fc8c41fa077a6e4 Mon Sep 17 00:00:00 2001 From: Jacyking <791026912@qq.com> Date: Mon, 20 Mar 2023 16:47:55 +0800 Subject: [PATCH] add ci --- .github/workflows/ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8cdcf4c..f61fcc9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,9 @@ jobs: uses: actions/checkout@v2 - name: Configure cmake - run: cmake -B${{github.workspace}}/examples/build -DCMAKE_BUILD_TYPE=${{ matrix.configuration }} + working-directory: ${{github.workspace}}/examples + run: cmake -B${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{ matrix.configuration }} - name: Build with ${{ matrix.compiler }} - run: cmake --build ${{github.workspace}}/examples/build --config ${{ matrix.configuration }} \ No newline at end of file + working-directory: ${{github.workspace}}/examples + run: cmake --build ${{github.workspace}}/build --config ${{ matrix.configuration }} \ No newline at end of file