-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: ci/gh-actions/build | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build-ubuntu: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
- name: update apt | ||
run: sudo apt update | ||
- name: install dependencies | ||
run: sudo apt -y install git cmake build-essential ccache libssl-dev libunbound-dev libboost-all-dev \ | ||
libqrencode-dev qt6-base-dev libgl1-mesa-dev libqt6svg6-dev libqt6websockets6-dev \ | ||
libzip-dev libsodium-dev libgcrypt-dev libx11-xcb-dev libprotobuf-dev libhidapi-dev \ | ||
libzxing-dev | ||
- name: build | ||
run: | | ||
mkdir build | ||
cd build | ||
cmake .. | ||
cmake --build . -j $(nproc) |