Update tests.yml

extensions
Volodymyr Shymanskyy 4 years ago committed by GitHub
parent 7183ff9be8
commit 167c180186
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -279,10 +279,11 @@ jobs:
run: | run: |
cd platforms/esp8266 cd platforms/esp8266
pio run pio run
- name: Build ESP32 # TODO:
run: | #- name: Build ESP32
cd platforms/esp32-pio # run: |
pio run # cd platforms/esp32-pio
# pio run
build-platformio-arm: build-platformio-arm:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -405,13 +406,14 @@ jobs:
cd platforms/cpp/build cd platforms/cpp/build
./wasm3_cpp_example ./wasm3_cpp_example
build-maintenance: build-as-cpp:
name: maintenance (build as C++)
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 10 timeout-minutes: 10
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
- name: Build as C++ - name: Build
run: | run: |
mkdir build mkdir build
cd build cd build
@ -419,17 +421,20 @@ jobs:
-I../source ../source/*.c ../platforms/app/main.c \ -I../source ../source/*.c ../platforms/app/main.c \
-O3 -g0 -lm \ -O3 -g0 -lm \
-o wasm3 -o wasm3
- name: Run spec tests
run: cd test && python3 run-spec-test.py
- name: Run WASI tests
run: cd test && python3 run-wasi-test.py --fast
- name: Build with debug logs build-with-logs:
name: maintenance (debug logs)
runs-on: ubuntu-latest
timeout-minutes: 10
#TODO: d_m3RuntimeStackDumps, d_m3EnableOpProfiling
steps:
- uses: actions/checkout@v1
- name: Build
run: | run: |
mkdir build-with-logs mkdir build
cd build-with-logs cd build
g++ -xc++ -Dd_m3HasWASI -Dd_m3LogsDefined \ g++ -xc++ -Dd_m3HasWASI -Dd_m3LogsDefined \
-Dd_m3RuntimeStackDumps=1 \
-Dd_m3TraceExec=1 \ -Dd_m3TraceExec=1 \
-Dd_m3LogParse=1 \ -Dd_m3LogParse=1 \
-Dd_m3LogModule=1 \ -Dd_m3LogModule=1 \
@ -445,11 +450,17 @@ jobs:
-O3 -g0 -lm \ -O3 -g0 -lm \
-o wasm3 -o wasm3
- name: Build with pre-processed operators build-preprocessed-ops:
name: maintenance (preprocess ops)
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Build
run: | run: |
make -f extra/utils.mk preprocess make -f extra/utils.mk preprocess
mkdir build-with-preprocess mkdir build
cd build-with-preprocess cd build
g++ -xc++ -Dd_m3HasWASI \ g++ -xc++ -Dd_m3HasWASI \
-I../source ../source/*.c ../platforms/app/main.c \ -I../source ../source/*.c ../platforms/app/main.c \
-O3 -g0 -lm \ -O3 -g0 -lm \

Loading…
Cancel
Save