Skip to content

Merge pull request #5 from esp-arduino-libs/feat/update_brookesia #4

Merge pull request #5 from esp-arduino-libs/feat/update_brookesia

Merge pull request #5 from esp-arduino-libs/feat/update_brookesia #4

Workflow file for this run

name: Build and Run Test Application
on:
workflow_dispatch:
pull_request:
types: [opened, reopened, synchronize]
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-22.04
name: Build and Run Test Application
container:
image: ubuntu:22.04
options: --user root
steps:
- name: Update apt and install Git 2.18+
run: |
apt-get update && apt-get upgrade -y
apt-get install -y git
- name: Checkout repository
uses: actions/checkout@v3
with:
submodules: 'recursive'
token: ${{ secrets.GITHUB_TOKEN }}
- name: Install dependencies
run: |
apt-get install -y gcc gdb cmake make build-essential libsdl2-dev
- name: Build Application
working-directory: ./
run: |
cmake -DRUN_TEST=1 -B ./build
make -C ./build
- name: Run Application
working-directory: ./
run: |
./bin/esp_brookesia_simulator_vscode