Skip to content

Commit

Permalink
Create build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MG-5 committed Nov 25, 2022
1 parent 36c0348 commit 7b1a8a4
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: build

on:
pull_request:
branches:
- 'main'
push:
branches:
- 'main'

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
with:
submodules: 'recursive'

- name: Create gitignored loginData file
run: |
cd main
touch loginData.hpp
echo '#define WifiSsid "ssid"' >> loginData.hpp
echo '#define WifiPassword "password"' >> loginData.hpp
cat loginData.hpp
shell: bash

- name: esp-idf build
uses: espressif/esp-idf-ci-action@v1
with:
esp_idf_version: release-v4.4
target: esp32
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# esp-dfi-ignah
[![Build status](https://github.com/MG-5/esp-dfi-ignah/actions/workflows/build.yml/badge.svg)](https://github.com/MG-5/esp-dfi-ignah/actions/workflows/build.yml)

Firmware for ESP to control a older dynamic passenger information using by IGNah Magdeburg

0 comments on commit 7b1a8a4

Please sign in to comment.