diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d202cd1..44edd2e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,10 +22,9 @@ jobs: run: "sudo apt-get update && sudo apt-get install git build-essential cmake" - name: Compile - run: > - mkdir build && cd build - && cmake .. -Dlime_tests=ON - && cmake --build . --config Debug + run: | + cmake -B build -Dlime_tests=ON + cmake --build build --config Debug - name: Run Tests run: "./build/tests/lime-tests" @@ -42,10 +41,9 @@ jobs: uses: actions/checkout@v3 - name: Compile - run: > - mkdir build && cd build - && cmake .. -Dlime_tests=ON -T ClangCL -A x64 - && cmake --build . --config Debug + run: | + cmake -B build -Dlime_tests=ON -T ClangCL -A x64 + cmake --build build --config Debug - name: Run Tests run: "./build/tests/Debug/lime-tests.exe" @@ -62,10 +60,9 @@ jobs: uses: actions/checkout@v3 - name: Compile - run: > - mkdir build && cd build - && cmake .. -Dlime_tests=ON - && cmake --build . --config Debug + run: | + cmake -B build -Dlime_tests=ON + cmake --build build --config Debug - name: Run Tests run: "./build/tests/Debug/lime-tests.exe"