Disable build cache for Github Actions

This commit is contained in:
Ivan Kravets
2020-04-26 12:58:32 +03:00
parent 560699fc6b
commit 31ca47837d
2 changed files with 9 additions and 4 deletions

View File

@ -25,7 +25,6 @@ jobs:
- name: Run on Linux
if: startsWith(matrix.os, 'ubuntu')
env:
PLATFORMIO_BUILD_CACHE_DIR: /tmp/pio
PIO_INSTALL_DEVPLATFORMS_IGNORE: "ststm8,infineonxmc,intel_mcs51,aceinna_imu"
run: |
# ChipKIT issue: install 32-bit support for GCC PIC32
@ -40,7 +39,6 @@ jobs:
- name: Run on macOS
if: startsWith(matrix.os, 'macos')
env:
PLATFORMIO_BUILD_CACHE_DIR: /tmp/pio
PIO_INSTALL_DEVPLATFORMS_IGNORE: "ststm8,infineonxmc,microchippic32,gd32v,nuclei"
run: |
df -h
@ -50,7 +48,6 @@ jobs:
if: startsWith(matrix.os, 'windows')
env:
PLATFORMIO_CORE_DIR: C:/pio
PLATFORMIO_BUILD_CACHE_DIR: C:/pio/tmp
PIO_INSTALL_DEVPLATFORMS_IGNORE: "ststm8,infineonxmc,riscv_gap"
run: |
tox -e testexamples

View File

@ -315,7 +315,15 @@ def on_exception(e):
def measure_ci():
event = {"category": "CI", "action": "NoName", "label": None}
known_cis = ("TRAVIS", "APPVEYOR", "GITLAB_CI", "CIRCLECI", "SHIPPABLE", "DRONE")
known_cis = (
"GITHUB_ACTIONS",
"TRAVIS",
"APPVEYOR",
"GITLAB_CI",
"CIRCLECI",
"SHIPPABLE",
"DRONE",
)
for name in known_cis:
if os.getenv(name, "false").lower() == "true":
event["action"] = name