diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 57cfae4..bea05b5 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -16,36 +16,34 @@ jobs: uses: actions/checkout@v3 - name: Build + working-directory: ./build run: | - cd build cmake .. cmake --build . - name: Run tests - run: | - cd build/test - ./cpp_katas_test --output=color + working-directory: ./build/test + run: ./cpp_katas_test --output=color build-macos: - runs-on: macos-latest + runs-on: macos-11 steps: - name: Checkout uses: actions/checkout@v3 - name: Build + working-directory: ./build run: | - cd build cmake .. cmake --build . - name: Run tests - run: | - cd build/test - ./cpp_katas_test --output=color + working-directory: ./build/test + run: ./cpp_katas_test --output=color build-windows: - runs-on: windows-latest + runs-on: windows-2019 steps: - name: Checkout @@ -56,12 +54,11 @@ jobs: choco install ninja - name: Build + working-directory: ./build run: | - cd build cmake -G "Ninja" .. cmake --build . - name: Run tests - run: | - cd build/test - .\cpp_katas_test.exe --output=color + working-directory: ./build/test + run: .\cpp_katas_test.exe --output=color