mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 10:07:14 +02:00
Disable build cache for Github Actions
This commit is contained in:
3
.github/workflows/examples.yml
vendored
3
.github/workflows/examples.yml
vendored
@ -25,7 +25,6 @@ jobs:
|
|||||||
- name: Run on Linux
|
- name: Run on Linux
|
||||||
if: startsWith(matrix.os, 'ubuntu')
|
if: startsWith(matrix.os, 'ubuntu')
|
||||||
env:
|
env:
|
||||||
PLATFORMIO_BUILD_CACHE_DIR: /tmp/pio
|
|
||||||
PIO_INSTALL_DEVPLATFORMS_IGNORE: "ststm8,infineonxmc,intel_mcs51,aceinna_imu"
|
PIO_INSTALL_DEVPLATFORMS_IGNORE: "ststm8,infineonxmc,intel_mcs51,aceinna_imu"
|
||||||
run: |
|
run: |
|
||||||
# ChipKIT issue: install 32-bit support for GCC PIC32
|
# ChipKIT issue: install 32-bit support for GCC PIC32
|
||||||
@ -40,7 +39,6 @@ jobs:
|
|||||||
- name: Run on macOS
|
- name: Run on macOS
|
||||||
if: startsWith(matrix.os, 'macos')
|
if: startsWith(matrix.os, 'macos')
|
||||||
env:
|
env:
|
||||||
PLATFORMIO_BUILD_CACHE_DIR: /tmp/pio
|
|
||||||
PIO_INSTALL_DEVPLATFORMS_IGNORE: "ststm8,infineonxmc,microchippic32,gd32v,nuclei"
|
PIO_INSTALL_DEVPLATFORMS_IGNORE: "ststm8,infineonxmc,microchippic32,gd32v,nuclei"
|
||||||
run: |
|
run: |
|
||||||
df -h
|
df -h
|
||||||
@ -50,7 +48,6 @@ jobs:
|
|||||||
if: startsWith(matrix.os, 'windows')
|
if: startsWith(matrix.os, 'windows')
|
||||||
env:
|
env:
|
||||||
PLATFORMIO_CORE_DIR: C:/pio
|
PLATFORMIO_CORE_DIR: C:/pio
|
||||||
PLATFORMIO_BUILD_CACHE_DIR: C:/pio/tmp
|
|
||||||
PIO_INSTALL_DEVPLATFORMS_IGNORE: "ststm8,infineonxmc,riscv_gap"
|
PIO_INSTALL_DEVPLATFORMS_IGNORE: "ststm8,infineonxmc,riscv_gap"
|
||||||
run: |
|
run: |
|
||||||
tox -e testexamples
|
tox -e testexamples
|
||||||
|
@ -315,7 +315,15 @@ def on_exception(e):
|
|||||||
|
|
||||||
def measure_ci():
|
def measure_ci():
|
||||||
event = {"category": "CI", "action": "NoName", "label": None}
|
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:
|
for name in known_cis:
|
||||||
if os.getenv(name, "false").lower() == "true":
|
if os.getenv(name, "false").lower() == "true":
|
||||||
event["action"] = name
|
event["action"] = name
|
||||||
|
Reference in New Issue
Block a user