forked from esp8266/Arduino
-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (41 loc) · 891 Bytes
/
build-host.yml
File metadata and controls
46 lines (41 loc) · 891 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Run host test suite under valgrind for runtime checking of code.
# Also, a quick test that the mocking builds work at all
name: Build on host OS
on:
push:
branches:
- gcc14/wip
tags-ignore: '**'
pull_request:
branches:
- gcc14/wip
permissions:
contents: read
jobs:
host-tests:
name: Tests
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v4
with:
submodules: true
- run: |
sudo apt update
sudo apt install valgrind lcov
bash ./tests/ci/host_test.sh
mock-check:
name: Mock
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v4
with:
submodules: true
- run: |
cd tests/host
make -j ../../libraries/ESP8266WebServer/examples/FSBrowser/FSBrowser