Skip to content

Commit

Permalink
build all examples
Browse files Browse the repository at this point in the history
  • Loading branch information
dernasherbrezon committed Dec 17, 2023
1 parent 47d2a4d commit ad48dcc
Showing 1 changed file with 67 additions and 0 deletions.
67 changes: 67 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,77 @@ jobs:
docker run -t -e IDF_TARGET="${IDF_TARGET}" -e CCACHE_DIR=/ccache -v ${CCACHE_DIR}:/ccache -v "${GITHUB_WORKSPACE}:/app/${{ github.repository }}" \
-w "/app/${{ github.repository }}/examples/receive_fsk" espressif/idf:v5.1.2 \
/bin/bash -c 'git config --global --add safe.directory "*" && idf.py build'
docker run -t -e IDF_TARGET="${IDF_TARGET}" -e IDF_CCACHE_ENABLE="1" -e CCACHE_DIR=/ccache -v ${CCACHE_DIR}:/ccache -v "${GITHUB_WORKSPACE}:/app/${{ github.repository }}" \
-w "/app/${{ github.repository }}/examples/receive_fsk_beacon" espressif/idf:v5.1.2 \
/bin/bash -c 'git config --global --add safe.directory "*" && idf.py --ccache build'
docker run -t -e IDF_TARGET="${IDF_TARGET}" -e IDF_CCACHE_ENABLE="1" -e CCACHE_DIR=/ccache -v ${CCACHE_DIR}:/ccache -v "${GITHUB_WORKSPACE}:/app/${{ github.repository }}" \
-w "/app/${{ github.repository }}/examples/receive_fsk_filtered" espressif/idf:v5.1.2 \
/bin/bash -c 'git config --global --add safe.directory "*" && idf.py --ccache build'
docker run -t -e IDF_TARGET="${IDF_TARGET}" -e IDF_CCACHE_ENABLE="1" -e CCACHE_DIR=/ccache -v ${CCACHE_DIR}:/ccache -v "${GITHUB_WORKSPACE}:/app/${{ github.repository }}" \
-w "/app/${{ github.repository }}/examples/receive_fsk_fixed" espressif/idf:v5.1.2 \
/bin/bash -c 'git config --global --add safe.directory "*" && idf.py --ccache build'
docker run -t -e IDF_TARGET="${IDF_TARGET}" -e IDF_CCACHE_ENABLE="1" -e CCACHE_DIR=/ccache -v ${CCACHE_DIR}:/ccache -v "${GITHUB_WORKSPACE}:/app/${{ github.repository }}" \
-w "/app/${{ github.repository }}/examples/receive_lora" espressif/idf:v5.1.2 \
/bin/bash -c 'git config --global --add safe.directory "*" && idf.py --ccache build'
docker run -t -e IDF_TARGET="${IDF_TARGET}" -e IDF_CCACHE_ENABLE="1" -e CCACHE_DIR=/ccache -v ${CCACHE_DIR}:/ccache -v "${GITHUB_WORKSPACE}:/app/${{ github.repository }}" \
-w "/app/${{ github.repository }}/examples/receive_lora_deepsleep" espressif/idf:v5.1.2 \
/bin/bash -c 'git config --global --add safe.directory "*" && idf.py --ccache build'
docker run -t -e IDF_TARGET="${IDF_TARGET}" -e IDF_CCACHE_ENABLE="1" -e CCACHE_DIR=/ccache -v ${CCACHE_DIR}:/ccache -v "${GITHUB_WORKSPACE}:/app/${{ github.repository }}" \
-w "/app/${{ github.repository }}/examples/receive_lora_implicit_header" espressif/idf:v5.1.2 \
/bin/bash -c 'git config --global --add safe.directory "*" && idf.py --ccache build'
docker run -t -e IDF_TARGET="${IDF_TARGET}" -e IDF_CCACHE_ENABLE="1" -e CCACHE_DIR=/ccache -v ${CCACHE_DIR}:/ccache -v "${GITHUB_WORKSPACE}:/app/${{ github.repository }}" \
-w "/app/${{ github.repository }}/examples/receive_ook" espressif/idf:v5.1.2 \
/bin/bash -c 'git config --global --add safe.directory "*" && idf.py --ccache build'
docker run -t -e IDF_TARGET="${IDF_TARGET}" -e IDF_CCACHE_ENABLE="1" -e CCACHE_DIR=/ccache -v ${CCACHE_DIR}:/ccache -v "${GITHUB_WORKSPACE}:/app/${{ github.repository }}" \
-w "/app/${{ github.repository }}/examples/temperature" espressif/idf:v5.1.2 \
/bin/bash -c 'git config --global --add safe.directory "*" && idf.py --ccache build'
docker run -t -e IDF_TARGET="${IDF_TARGET}" -e IDF_CCACHE_ENABLE="1" -e CCACHE_DIR=/ccache -v ${CCACHE_DIR}:/ccache -v "${GITHUB_WORKSPACE}:/app/${{ github.repository }}" \
-w "/app/${{ github.repository }}/examples/transmit_fsk" espressif/idf:v5.1.2 \
/bin/bash -c 'git config --global --add safe.directory "*" && idf.py --ccache build'
docker run -t -e IDF_TARGET="${IDF_TARGET}" -e IDF_CCACHE_ENABLE="1" -e CCACHE_DIR=/ccache -v ${CCACHE_DIR}:/ccache -v "${GITHUB_WORKSPACE}:/app/${{ github.repository }}" \
-w "/app/${{ github.repository }}/examples/transmit_fsk_beacon" espressif/idf:v5.1.2 \
/bin/bash -c 'git config --global --add safe.directory "*" && idf.py --ccache build'
docker run -t -e IDF_TARGET="${IDF_TARGET}" -e IDF_CCACHE_ENABLE="1" -e CCACHE_DIR=/ccache -v ${CCACHE_DIR}:/ccache -v "${GITHUB_WORKSPACE}:/app/${{ github.repository }}" \
-w "/app/${{ github.repository }}/examples/transmit_fsk_fixed" espressif/idf:v5.1.2 \
/bin/bash -c 'git config --global --add safe.directory "*" && idf.py --ccache build'
docker run -t -e IDF_TARGET="${IDF_TARGET}" -e IDF_CCACHE_ENABLE="1" -e CCACHE_DIR=/ccache -v ${CCACHE_DIR}:/ccache -v "${GITHUB_WORKSPACE}:/app/${{ github.repository }}" \
-w "/app/${{ github.repository }}/examples/transmit_lora" espressif/idf:v5.1.2 \
/bin/bash -c 'git config --global --add safe.directory "*" && idf.py --ccache build'
docker run -t -e IDF_TARGET="${IDF_TARGET}" -e IDF_CCACHE_ENABLE="1" -e CCACHE_DIR=/ccache -v ${CCACHE_DIR}:/ccache -v "${GITHUB_WORKSPACE}:/app/${{ github.repository }}" \
-w "/app/${{ github.repository }}/examples/transmit_lora_implicit_header" espressif/idf:v5.1.2 \
/bin/bash -c 'git config --global --add safe.directory "*" && idf.py --ccache build'
docker run -t -e IDF_TARGET="${IDF_TARGET}" -e IDF_CCACHE_ENABLE="1" -e CCACHE_DIR=/ccache -v ${CCACHE_DIR}:/ccache -v "${GITHUB_WORKSPACE}:/app/${{ github.repository }}" \
-w "/app/${{ github.repository }}/examples/transmit_ook" espressif/idf:v5.1.2 \
/bin/bash -c 'git config --global --add safe.directory "*" && idf.py --ccache build'
BASEDIR=$(pwd)
mkdir -p ${BASEDIR}/examples/receive_fsk_raspberrypi/build
cd ${BASEDIR}/examples/receive_fsk_raspberrypi/build
cmake ..
make
mkdir -p ${BASEDIR}/examples/receive_lora_raspberrypi/build
cd ${BASEDIR}/examples/receive_lora_raspberrypi/build
cmake ..
make
mkdir -p ${BASEDIR}/examples/transmit_lora_raspberrypi/build
cd ${BASEDIR}/examples/transmit_lora_raspberrypi/build
cmake ..
make
shell: bash

0 comments on commit ad48dcc

Please sign in to comment.