add manjaro installation instructions #65
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
name: build_and_deploy | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
build_and_deploy: | |
strategy: | |
matrix: | |
include: | |
- runs-on: ubuntu-22.04 | |
container: "ubuntu:22.04" | |
target: all | |
- runs-on: windows-2022 | |
container: "" # Containers on Windows runners are not supported | |
target: dronecan_v2 | |
- runs-on: ubuntu-22.04 | |
container: "manjaro:latest" | |
target: "all" | |
runs-on: ${{ matrix.runs-on }} | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
fetch-depth: 0 | |
- name: Install dependencies (Ubuntu & Manjaro & Windows) | |
run: | | |
pip install -r requirements.txt | |
python -m pip install yakut | |
python scripts/install.py | |
shell: bash | |
- name: Build | |
run: make ${{ matrix.target }} | |
- name: Deploy binaries to Telegram | |
if: matrix.runs-on == 'ubuntu-22.04' && matrix.target == 'all' && github.ref == 'refs/heads/main' && github.repository == 'RaccoonlabDev/mini_v2_node' | |
run: ./scripts/deploy_release_to_telegram.py --bot-token ${{ secrets.TELEGRAM_BOT_TOKEN }} --chat-id ${{ secrets.TELEGRAM_CHAT_ID }} |