|
| 1 | +# ----------------------------------------------------------------------------- |
| 2 | +# DO NOT EDIT! |
| 3 | +# Automatically generated from npm-packages-helper/templates/*. |
| 4 | +# |
| 5 | +# This file is part of the xPack project (http://xpack.github.io). |
| 6 | +# Copyright (c) 2021-2025 Liviu Ionescu. All rights reserved. |
| 7 | +# |
| 8 | +# Permission to use, copy, modify, and/or distribute this software |
| 9 | +# for any purpose is hereby granted, under the terms of the MIT license. |
| 10 | +# |
| 11 | +# If a copy of the license was not distributed with this file, it can |
| 12 | +# be obtained from https://opensource.org/licenses/mit. |
| 13 | +# |
| 14 | +# ----------------------------------------------------------------------------- |
| 15 | + |
| 16 | +# https://help.github.com/en/actions |
| 17 | +# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners |
| 18 | + |
| 19 | +# https://docs.github.com/en/actions/reference/events-that-trigger-workflows#workflow_dispatch |
| 20 | +# https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_dispatch |
| 21 | +# https://docs.github.com/en/rest/reference/actions#create-a-workflow-dispatch-event |
| 22 | + |
| 23 | +# https://github.com/actions/checkout |
| 24 | +# https://github.com/actions/upload-artifact |
| 25 | +# https://github.com/actions/download-artifact |
| 26 | + |
| 27 | +# ----------------------------------------------------------------------------- |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | +name: 'Deep clean xPack xPack GNU RISC-V Embedded GCC' |
| 33 | + |
| 34 | +on: |
| 35 | + workflow_dispatch: |
| 36 | + inputs: |
| 37 | + version: |
| 38 | + description: 'The semver of the release' |
| 39 | + required: false |
| 40 | + default: 'current' |
| 41 | + |
| 42 | +jobs: |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | + |
| 51 | + linux-x64: |
| 52 | + name: 'linux-x64 riscv-none-elf-gcc ${{github.event.inputs.version}} clean' |
| 53 | + timeout-minutes: 5760 # 4 days |
| 54 | + runs-on: [self-hosted, linux, x64] |
| 55 | + steps: |
| 56 | + - name: 'Show environment' |
| 57 | + run: | |
| 58 | + uname -a |
| 59 | + lsb_release -sd |
| 60 | + echo "whoami: $(whoami)" |
| 61 | + echo "pwd: $(pwd)" |
| 62 | + ls -lLA |
| 63 | + env | sort | grep -E '^[^ \t]+=' |
| 64 | +
|
| 65 | + - name: 'Clean working area' # Mandatory for self-hosted runners. |
| 66 | + run: | |
| 67 | + chmod -Rf a+w * || true |
| 68 | + rm -rf * .git* |
| 69 | +
|
| 70 | +
|
| 71 | +
|
| 72 | +
|
| 73 | + win32-x64: |
| 74 | + name: 'win32-x64 riscv-none-elf-gcc ${{github.event.inputs.version}} clean' |
| 75 | + timeout-minutes: 5760 # 4 days |
| 76 | + runs-on: [self-hosted, linux, x64] |
| 77 | + steps: |
| 78 | + - name: 'Show environment' |
| 79 | + run: | |
| 80 | + uname -a |
| 81 | + lsb_release -sd |
| 82 | + echo "whoami: $(whoami)" |
| 83 | + echo "pwd: $(pwd)" |
| 84 | + ls -lLA |
| 85 | + env | sort | grep -E '^[^ \t]+=' |
| 86 | +
|
| 87 | + - name: 'Clean working area' # Mandatory for self-hosted runners. |
| 88 | + run: | |
| 89 | + chmod -Rf a+w * || true |
| 90 | + rm -rf * .git* |
| 91 | +
|
| 92 | +
|
| 93 | +
|
| 94 | +
|
| 95 | +
|
| 96 | +
|
| 97 | +
|
| 98 | +
|
| 99 | +
|
| 100 | +
|
| 101 | +
|
| 102 | +
|
| 103 | +
|
| 104 | +
|
| 105 | +
|
| 106 | +
|
| 107 | +
|
| 108 | +
|
| 109 | +
|
| 110 | +
|
| 111 | +
|
| 112 | +
|
| 113 | +
|
| 114 | +
|
| 115 | + linux-arm64: |
| 116 | + name: 'linux-arm64 riscv-none-elf-gcc ${{github.event.inputs.version}} clean' |
| 117 | + timeout-minutes: 2880 # 2 days |
| 118 | + runs-on: [self-hosted, linux, arm64, xbbla] |
| 119 | + steps: |
| 120 | + - name: 'Show environment' |
| 121 | + run: | |
| 122 | + uname -a |
| 123 | + lsb_release -sd |
| 124 | + echo "whoami: $(whoami)" |
| 125 | + echo "pwd: $(pwd)" |
| 126 | + ls -lLA |
| 127 | + env | sort | grep -E '^[^ \t]+=' |
| 128 | +
|
| 129 | + - name: 'Clean working area' # Mandatory for self-hosted runners. |
| 130 | + run: | |
| 131 | + chmod -Rf a+w * || true |
| 132 | + rm -rf * .git* |
| 133 | +
|
| 134 | +
|
| 135 | +
|
| 136 | +
|
| 137 | +
|
| 138 | +
|
| 139 | + darwin-x64: |
| 140 | + name: 'darwin-x64 riscv-none-elf-gcc ${{github.event.inputs.version}} clean' |
| 141 | + timeout-minutes: 2880 # 2 days |
| 142 | + |
| 143 | + runs-on: [self-hosted, macos, intel] |
| 144 | + |
| 145 | + steps: |
| 146 | + - name: 'Show environment' |
| 147 | + run: | |
| 148 | + uname -a |
| 149 | + sw_vers # lsb_release -sd |
| 150 | + echo "whoami: $(whoami)" |
| 151 | + echo "pwd: $(pwd)" |
| 152 | + ls -lLA |
| 153 | + env | sort | grep -E '^[^ \t]+=' |
| 154 | +
|
| 155 | + - name: 'Clean working area' # Mandatory for self-hosted runners. |
| 156 | + run: | |
| 157 | + chmod -Rf a+w * || true |
| 158 | + rm -rf * .git* |
| 159 | +
|
| 160 | +
|
| 161 | +
|
| 162 | +
|
| 163 | +
|
| 164 | +
|
| 165 | +
|
| 166 | +
|
| 167 | + darwin-arm64: |
| 168 | + name: 'darwin-arm64 riscv-none-elf-gcc ${{github.event.inputs.version}} clean' |
| 169 | + timeout-minutes: 2880 # 2 days |
| 170 | + |
| 171 | + runs-on: [self-hosted, macos, apple] |
| 172 | + |
| 173 | + steps: |
| 174 | + - name: 'Show environment' |
| 175 | + run: | |
| 176 | + uname -a |
| 177 | + sw_vers # lsb_release -sd |
| 178 | + echo "whoami: $(whoami)" |
| 179 | + echo "pwd: $(pwd)" |
| 180 | + ls -lLA |
| 181 | + env | sort | grep -E '^[^ \t]+=' |
| 182 | +
|
| 183 | + - name: 'Clean working area' # Mandatory for self-hosted runners. |
| 184 | + run: | |
| 185 | + chmod -Rf a+w * || true |
| 186 | + rm -rf * .git* |
| 187 | +
|
0 commit comments