Skip to content

Commit 1fad7fe

Browse files
author
Jan Rüth
committed
Added x86_64 CI
1 parent f8acc80 commit 1fad7fe

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/native.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
on: [push, pull_request]
2+
3+
jobs:
4+
build_job:
5+
# The host should always be linux
6+
runs-on: ubuntu-latest
7+
name: Build on x86_64
8+
9+
steps:
10+
# Checkout the repo to $PWD
11+
- uses: actions/checkout@v3
12+
# Build
13+
- name: Build
14+
run: |
15+
sudo apt-get --quiet update -y
16+
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
17+
./bootstrap.sh
18+
cmake . -B.build
19+
make -C .build -j2
20+
make -C .build package
21+
22+
- uses: actions/upload-artifact@v3
23+
with:
24+
name: packages-x86_64
25+
path: .build/artifacts/*.deb

0 commit comments

Comments
 (0)