mirror of
https://github.com/nqrduck/LimeDriver.git
synced 2024-11-24 11:02:25 +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
|
||||
|
||||
steps:
|
||||
- name: Set up build requirements
|
||||
run: sudo apt-get update -y && sudo apt-get install -y cmake g++
|
||||
|
||||
- name: Install LimeSuite dependencies
|
||||
run: sudo apt-get update -y && sudo apt-get install -y limesuite liblimesuite-dev
|
||||
|
||||
|
@ -21,11 +24,6 @@ jobs:
|
|||
- name: Check out code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Set up CMake
|
||||
uses: actions/setup-cmake@v1
|
||||
with:
|
||||
cmake-version: '3.28.1'
|
||||
|
||||
- name: Build
|
||||
run: cmake -S . -B build && cmake --build build
|
||||
|
Loading…
Reference in a new issue