Skip to content

Commit

Permalink
Add building rust project
Browse files Browse the repository at this point in the history
  • Loading branch information
breadrock1 committed Aug 30, 2023
1 parent 988f02a commit ada190a
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,31 @@ on:

jobs:

build:
name: Build
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- name: Checkout code
uses: actions/checkout@v2

- uses: webfactory/ssh-agent@v0.7.0
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}

- name: Install prerequisites
run: |
sudo apt update
sudo apt install -y build-essential curl \
cmake clang libclang-dev llvm llvm-dev \
qt5-default libopencv-dev \
python3-dev python3-numpy python3-opencv
- name: Build project
run: cargo build --verbose --jobs $(nproc)

flake8:
name: Code style
runs-on: ubuntu-latest
Expand Down

0 comments on commit ada190a

Please sign in to comment.