Use rust #21
Workflow file for this run
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
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 libssl-dev pkg-config clang build-essential libusb-1.0-0 libusb-1.0-0-dev | |
cargo install cargo-deb | |
make deb | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: packages-x86_64 | |
path: target/release/debian/*.deb |