Skip to content

One more try for actions..., #20

One more try for actions...,

One more try for actions..., #20

Workflow file for this run

name: Build Pi-Summoner
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install Cross Compiling Tools
run: sudo apt-get install -y gcc-arm-linux-gnueabihf libc6-dev-armhf-cross
- name: Install Dependencies
run: sudo apt-get update && sudo apt-get install -y libmicrohttpd-dev
- name: Run Build Script
run: |
chmod +x build.sh
./build.sh
- name: List Build Directory Contents
run: ls -l build/
- name: Rename and Move Executable
run: |
mv build/main build/pi-summoner
- name: Upload Artifact
uses: actions/upload-artifact@v2
with:
name: pi-summoner
path: build/pi-summoner