-
Notifications
You must be signed in to change notification settings - Fork 2
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
Jan Rüth
committed
Apr 18, 2023
1 parent
f8acc80
commit 1fad7fe
Showing
1 changed file
with
25 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,25 @@ | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
build_job: | ||
# The host should always be linux | ||
runs-on: ubuntu-latest | ||
name: Build on x86_64 | ||
|
||
steps: | ||
# Checkout the repo to $PWD | ||
- uses: actions/checkout@v3 | ||
# Build | ||
- name: Build | ||
run: | | ||
sudo apt-get --quiet update -y | ||
sudo apt-get install -y -q wget cmake file build-essential libboost-dev nlohmann-json3-dev libusb-1.0-0 libusb-1.0-0-dev | ||
./bootstrap.sh | ||
cmake . -B.build | ||
make -C .build -j2 | ||
make -C .build package | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: packages-x86_64 | ||
path: .build/artifacts/*.deb |