forked from xoseperez/espurna
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- remove .travis.yml - ./travis_{script,install}.sh -> ./ci_{script,install}.sh - flush stdout in test script to see logs more promptly - adjust git config to ignore 'detachedHead' warnings
- Loading branch information
Showing
5 changed files
with
75 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Normal push, check the build status for the nighly builder or the release | ||
|
||
name: ESPurna build | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.x' | ||
architecture: x64 | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: '14' | ||
- name: Cache Node | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.npm | ||
key: ${{ runner.os }}-${{ hashFiles('code/package-lock.json', 'code/package.json') }} | ||
- name: Cache PlatformIO | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.platformio | ||
key: ${{ runner.os }}-${{ hashFiles('code/platformio.ini') }} | ||
- name: Host tests | ||
run: | | ||
./ci_install.sh host | ||
./ci_script.sh host | ||
- name: WebUI tests | ||
run: | | ||
./ci_install.sh webui | ||
./ci_script.sh webui | ||
- name: PlatformIO build | ||
env: | ||
BUILDER_TOTAL_THREADS: 4 | ||
ESPURNA_PIO_PATCH_ISSUE_1610: "y" | ||
ESPURNA_PIO_SHARED_LIBRARIES: "y" | ||
TEST_ENV: "esp8266-4m-latest-base" | ||
TEST_EXTRA_ARGS: "-a test/build/extra/secure_client.h" | ||
run: | | ||
git config --global advice.detachedHead false | ||
./ci_install.sh build | ||
./ci_script.sh build |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters