forked from esp8266/Arduino
-
Notifications
You must be signed in to change notification settings - Fork 1
40 lines (35 loc) · 797 Bytes
/
Copy pathbuild-host.yml
File metadata and controls
40 lines (35 loc) · 797 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
# 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:
pull_request:
permissions:
contents: read
jobs:
host-tests:
name: Tests
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v3
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@v3
with:
submodules: true
- run: |
cd tests/host
make -j ../../libraries/ESP8266WebServer/examples/FSBrowser/FSBrowser