mirror of
https://github.com/nqrduck/LimeDriver.git
synced 2024-11-28 04:52:32 +00:00
Optimize CI pipeline by bundling setup steps
Streamlined the setup process in the GitHub Actions workflow by combining system updates and package installations into a single step. Removed the action for setting up CMake, instead directly installing it along with build requirements, reducing redundancy and improving build times. These adjustments enhance the efficiency of the continuous integration process.
This commit is contained in:
parent
a6b8a3fd67
commit
b00b2f08e3
1 changed files with 3 additions and 5 deletions
8
.github/workflows/c-cpp.yml
vendored
8
.github/workflows/c-cpp.yml
vendored
|
@ -12,6 +12,9 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- name: Set up build requirements
|
||||||
|
run: sudo apt-get update -y && sudo apt-get install -y cmake g++
|
||||||
|
|
||||||
- name: Install LimeSuite dependencies
|
- name: Install LimeSuite dependencies
|
||||||
run: sudo apt-get update -y && sudo apt-get install -y limesuite liblimesuite-dev
|
run: sudo apt-get update -y && sudo apt-get install -y limesuite liblimesuite-dev
|
||||||
|
|
||||||
|
@ -21,11 +24,6 @@ jobs:
|
||||||
- name: Check out code
|
- name: Check out code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Set up CMake
|
|
||||||
uses: actions/setup-cmake@v1
|
|
||||||
with:
|
|
||||||
cmake-version: '3.28.1'
|
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cmake -S . -B build && cmake --build build
|
run: cmake -S . -B build && cmake --build build
|
||||||
|
|
Loading…
Reference in a new issue