Deep clean xPack GNU Arm Embedded GCC #10
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
# ----------------------------------------------------------------------------- | |
# DO NOT EDIT! | |
# Generated from xpacks/@xpack-dev-tools/xbb-helper/templates/workflows/*. | |
# | |
# This file is part of the xPack distribution. | |
# (https://xpack.github.io) | |
# Copyright (c) 2021 Liviu Ionescu. | |
# | |
# Permission to use, copy, modify, and/or distribute this software | |
# for any purpose is hereby granted, under the terms of the MIT license. | |
# ----------------------------------------------------------------------------- | |
# https://help.github.com/en/actions | |
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners | |
# https://docs.github.com/en/actions/reference/events-that-trigger-workflows#workflow_dispatch | |
# https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_dispatch | |
# https://docs.github.com/en/rest/reference/actions#create-a-workflow-dispatch-event | |
# https://github.com/actions/checkout | |
# https://github.com/actions/upload-artifact | |
# https://github.com/actions/download-artifact | |
# ----------------------------------------------------------------------------- | |
name: 'Deep clean xPack GNU Arm Embedded GCC' | |
on: | |
workflow_dispatch: | |
inputs: | |
version: | |
description: 'The semver of the release' | |
required: false | |
default: 'current' | |
jobs: | |
linux-x64: | |
name: 'linux-x64 arm-none-eabi-gcc ${{ github.event.inputs.version }} clean' | |
timeout-minutes: 5760 # 4 days | |
runs-on: [self-hosted, linux, x64] | |
steps: | |
- name: 'Show environment' | |
run: | | |
uname -a | |
lsb_release -sd | |
echo "whoami: $(whoami)" | |
echo "pwd: $(pwd)" | |
ls -lLA | |
env | sort | grep -E '^[^ \t]+=' | |
- name: 'Clean working area' # Mandatory for self-hosted runners. | |
run: | | |
chmod -Rf a+w * || true | |
rm -rf * .git* | |
win32-x64: | |
name: 'win32-x64 arm-none-eabi-gcc ${{ github.event.inputs.version }} clean' | |
timeout-minutes: 5760 # 4 days | |
runs-on: [self-hosted, linux, x64] | |
steps: | |
- name: 'Show environment' | |
run: | | |
uname -a | |
lsb_release -sd | |
echo "whoami: $(whoami)" | |
echo "pwd: $(pwd)" | |
ls -lLA | |
env | sort | grep -E '^[^ \t]+=' | |
- name: 'Clean working area' # Mandatory for self-hosted runners. | |
run: | | |
chmod -Rf a+w * || true | |
rm -rf * .git* | |
linux-arm: | |
name: 'linux-arm arm-none-eabi-gcc ${{ github.event.inputs.version }} clean' | |
timeout-minutes: 2880 # 2 days | |
runs-on: [self-hosted, linux, arm, xbbla32] | |
steps: | |
- name: 'Show environment' | |
run: | | |
uname -a | |
lsb_release -sd | |
echo "whoami: $(whoami)" | |
echo "pwd: $(pwd)" | |
ls -lLA | |
env | sort | grep -E '^[^ \t]+=' | |
- name: 'Clean working area' # Mandatory for self-hosted runners. | |
run: | | |
chmod -Rf a+w * || true | |
rm -rf * .git* | |
linux-arm64: | |
name: 'linux-arm64 arm-none-eabi-gcc ${{ github.event.inputs.version }} clean' | |
timeout-minutes: 2880 # 2 days | |
runs-on: [self-hosted, linux, arm64, xbbla] | |
steps: | |
- name: 'Show environment' | |
run: | | |
uname -a | |
lsb_release -sd | |
echo "whoami: $(whoami)" | |
echo "pwd: $(pwd)" | |
ls -lLA | |
env | sort | grep -E '^[^ \t]+=' | |
- name: 'Clean working area' # Mandatory for self-hosted runners. | |
run: | | |
chmod -Rf a+w * || true | |
rm -rf * .git* | |
darwin-x64: | |
name: 'darwin-x64 arm-none-eabi-gcc ${{ github.event.inputs.version }} clean' | |
timeout-minutes: 2880 # 2 days | |
runs-on: [self-hosted, macos, intel] | |
steps: | |
- name: 'Show environment' | |
run: | | |
uname -a | |
sw_vers # lsb_release -sd | |
echo "whoami: $(whoami)" | |
echo "pwd: $(pwd)" | |
ls -lLA | |
env | sort | grep -E '^[^ \t]+=' | |
- name: 'Clean working area' # Mandatory for self-hosted runners. | |
run: | | |
chmod -Rf a+w * || true | |
rm -rf * .git* | |
darwin-arm64: | |
name: 'darwin-arm64 arm-none-eabi-gcc ${{ github.event.inputs.version }} clean' | |
timeout-minutes: 2880 # 2 days | |
runs-on: [self-hosted, macos, apple] | |
steps: | |
- name: 'Show environment' | |
run: | | |
uname -a | |
sw_vers # lsb_release -sd | |
echo "whoami: $(whoami)" | |
echo "pwd: $(pwd)" | |
ls -lLA | |
env | sort | grep -E '^[^ \t]+=' | |
- name: 'Clean working area' # Mandatory for self-hosted runners. | |
run: | | |
chmod -Rf a+w * || true | |
rm -rf * .git* |