Skip to content

Commit

Permalink
refactor(ci): modernize cmake build commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Curve committed May 6, 2024
1 parent 1ff782d commit 61c1c7e
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand All @@ -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"

0 comments on commit 61c1c7e

Please sign in to comment.