Skip to content

Commit

Permalink
Actions: add master.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
breadrock1 authored Aug 31, 2023
1 parent 49cf7e1 commit 83072b0
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Build

run-name: ${{ github.actor }} is building action
on:
push:
branches:
- 'master'

jobs:
build:
name: Build
runs-on: ubuntu-20.04
permissions:
contents: write

steps:
- 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: Checkout code
uses: actions/checkout@v2

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

- uses: PyO3/maturin-action@v1
with:
command: build
args: --release
rust-toolchain: nightly

0 comments on commit 83072b0

Please sign in to comment.