mirror of
https://github.com/feather-wallet/feather.git
synced 2024-11-16 09:17:36 +00:00
actions: add ubuntu build
This commit is contained in:
parent
d0f6cd333b
commit
5824b595c0
1 changed files with 44 additions and 0 deletions
44
.github/workflows/build.yml
vendored
Normal file
44
.github/workflows/build.yml
vendored
Normal file
|
@ -0,0 +1,44 @@
|
|||
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
|
||||
qt6-multimedia-dev libzip-dev libsodium-dev libgcrypt-dev libx11-xcb-dev
|
||||
libprotobuf-dev libhidapi-dev libzxingcore-dev
|
||||
- name: build
|
||||
run: |
|
||||
mkdir build
|
||||
cd build
|
||||
cmake ..
|
||||
cmake --build . -j $(nproc)
|
||||
|
||||
build-ubuntu-without-scanner:
|
||||
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
|
||||
qt6-multimedia-dev libzip-dev libsodium-dev libgcrypt-dev libx11-xcb-dev
|
||||
libprotobuf-dev libhidapi-dev libzxingcore-dev
|
||||
- name: build
|
||||
run: |
|
||||
mkdir build
|
||||
cd build
|
||||
cmake -DWITH_SCANNER=OFF ..
|
||||
cmake --build . -j $(nproc)
|
Loading…
Reference in a new issue