Skip to content

Commit

Permalink
Add non-working GitHub workflow for SerialReader
Browse files Browse the repository at this point in the history
  • Loading branch information
ThexXTURBOXx committed Mar 26, 2024
1 parent 1d91ebf commit 22481c5
Showing 2 changed files with 34 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build
name: Build Firmware

on:
push:
33 changes: 33 additions & 0 deletions .github/workflows/build-reader.yml.disabled
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Build SerialReader

on:
push:
pull_request:
workflow_dispatch:

jobs:
build:
# macos-13 is running on arm64
runs-on: macos-13
container: ghcr.io/dtcooper/raspberrypi-os
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Install dependencies
run: apt install cmake make g++ default-jdk libgpiod-dev

- name: Compile SerialReader
run: |
cd SerialReader
cmake .
make
cd ..

- name: Upload SerialReader
uses: actions/upload-artifact@v3
with:
name: SerialReader
path: |
SerialReader/libSerialReader.so
SerialReader/SerialReader

0 comments on commit 22481c5

Please sign in to comment.