Skip to content

Add a security docs downloader using Rust #93

Add a security docs downloader using Rust

Add a security docs downloader using Rust #93

Workflow file for this run

name: "Build"
on:
push:
branches:
- master
paths:
- '**'
# Don't run this workflow if the only files that changed are the
# following. Make sure this is the same as the "pull_request.paths" list.
- '!AUTHORS'
- '!PROBLEM-REPORT-FORM'
- '!LICENSE'
- '!.dockerignore'
- '!.mailmap'
- '!deploy/**'
- '!docs/**'
- '!**.md'
- '!**.rst'
- '!**/.gitignore'
- '!**/README*'
pull_request:
branches:
- master
paths:
- '**'
# Don't run this workflow if the only files that changed are the
# following. Make sure this is the same as the "push.paths" list.
- '!AUTHORS'
- '!PROBLEM-REPORT-FORM'
- '!LICENSE'
- '!.dockerignore'
- '!.mailmap'
- '!deploy/**'
- '!docs/**'
- '!**.md'
- '!**.rst'
- '!**/.gitignore'
- '!**/README*'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build_pi:
runs-on: ubuntu-22.04
steps:
- name: checkout opendds-smart-lock
uses: actions/checkout@v3
with:
path: opendds-smart-lock
- name: build pi
run: |
cd opendds-smart-lock
./smart-lock pi build-toolchain
./smart-lock pi compile
build_android_arm64:
runs-on: ubuntu-22.04
steps:
- name: install flutter
shell: bash
run: |
git clone https://github.com/flutter/flutter.git
- name: checkout opendds-smart-lock
uses: actions/checkout@v3
with:
path: opendds-smart-lock
- name: build android arm64
run: |
PATH="$PATH:`pwd`/flutter/bin"
cd opendds-smart-lock
./smart-lock android build-toolchain-arm64
./smart-lock android compile
build_android_arm:
runs-on: ubuntu-22.04
steps:
- name: install flutter
shell: bash
run: |
git clone https://github.com/flutter/flutter.git
- name: checkout opendds-smart-lock
uses: actions/checkout@v3
with:
path: opendds-smart-lock
- name: build android arm
run: |
PATH="$PATH:`pwd`/flutter/bin"
cd opendds-smart-lock
./smart-lock android build-toolchain-arm
./smart-lock android compile
build_android_x86:
runs-on: ubuntu-22.04
steps:
- name: install flutter
shell: bash
run: |
git clone https://github.com/flutter/flutter.git
- name: checkout opendds-smart-lock
uses: actions/checkout@v3
with:
path: opendds-smart-lock
- name: build android x86
run: |
PATH="$PATH:`pwd`/flutter/bin"
cd opendds-smart-lock
./smart-lock android build-toolchain-x86
./smart-lock android compile
build_certs_downloader:
runs-on: ubuntu-22.04
steps:
- name: checkout opendds-smart-lock
uses: actions/checkout@v3
with:
path: opendds-smart-lock
- name: compile rust certs downloader
run: |
cd opendds-smart-lock/src/certs_downloader
cargo build --release