-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
Add non-working GitHub workflow for SerialReader
- Loading branch information
1 parent
1d91ebf
commit 22481c5
Showing
2 changed files
with
34 additions
and
1 deletion.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
.github/workflows/build.yml → .github/workflows/build-firmware.yml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Build | ||
name: Build Firmware | ||
|
||
on: | ||
push: | ||
|
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
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 |