mirror of
https://github.com/AuxXxilium/arc-c.git
synced 2024-11-23 23:11:08 +07:00
build: fix
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
0a305bbb7d
commit
d804faddaf
13
.github/workflows/autobuild.yml
vendored
13
.github/workflows/autobuild.yml
vendored
@ -20,6 +20,11 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@main
|
||||
|
||||
- name: Free Disk Space (Ubuntu)
|
||||
uses: jlumbroso/free-disk-space@main
|
||||
with:
|
||||
swap-storage: false
|
||||
|
||||
# Install Dependencies
|
||||
- name: Install Dependencies
|
||||
run: |
|
||||
@ -27,12 +32,6 @@ jobs:
|
||||
git config --global user.name "AuxXxilium"
|
||||
sudo timedatectl set-timezone "Europe/Berlin"
|
||||
|
||||
# Clean up disk space
|
||||
docker rmi $(docker images -q)
|
||||
sudo apt update
|
||||
sudo apt -y purge azure-cli* docker* llvm* google* dotnet* powershell* sphinxsearch* mysql* php*
|
||||
sudo apt -y full-upgrade
|
||||
|
||||
sudo apt update
|
||||
sudo apt install -y jq gawk libelf-dev qemu-utils
|
||||
sudo snap install yq
|
||||
@ -87,7 +86,7 @@ jobs:
|
||||
sudo mount ${LOOPX}p3 "/tmp/p3"
|
||||
|
||||
echo "Get Buildroot"
|
||||
getBuildroot "2023.02.x" "br"
|
||||
getBuildroot "2023.08.x" "br"
|
||||
[ ! -f "br/bzImage-arc" ] || [ ! -f "br/initrd-arc" ] && return 1
|
||||
|
||||
echo "Repack initrd"
|
||||
|
25
.github/workflows/build.yml
vendored
25
.github/workflows/build.yml
vendored
@ -5,7 +5,7 @@
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
name: Build Arc
|
||||
name: Build Arc-A
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
@ -14,10 +14,10 @@ on:
|
||||
description: "format %y.%-m.$i or auto"
|
||||
required: false
|
||||
type: string
|
||||
next:
|
||||
description: "-next Release"
|
||||
notice:
|
||||
description: "Notice here"
|
||||
required: false
|
||||
type: boolean
|
||||
type: string
|
||||
prerelease:
|
||||
description: "pre release"
|
||||
default: false
|
||||
@ -28,7 +28,7 @@ on:
|
||||
type: boolean
|
||||
br_version:
|
||||
description: "buildroot version"
|
||||
default: "2023.02.x"
|
||||
default: "2023.08.x"
|
||||
type: string
|
||||
addons_version:
|
||||
description: "addons version"
|
||||
@ -72,6 +72,11 @@ jobs:
|
||||
env:
|
||||
REPO: ${{ github.repository }}
|
||||
|
||||
- name: Free Disk Space (Ubuntu)
|
||||
uses: jlumbroso/free-disk-space@main
|
||||
with:
|
||||
swap-storage: false
|
||||
|
||||
# Install Dependencies
|
||||
- name: Install Dependencies
|
||||
run: |
|
||||
@ -79,12 +84,6 @@ jobs:
|
||||
git config --global user.name "AuxXxilium"
|
||||
sudo timedatectl set-timezone "Europe/Berlin"
|
||||
|
||||
# Clean up disk space
|
||||
docker rmi $(docker images -q)
|
||||
sudo apt update
|
||||
sudo apt -y purge azure-cli* docker* llvm* google* dotnet* powershell* sphinxsearch* mysql* php*
|
||||
sudo apt -y full-upgrade
|
||||
|
||||
sudo apt update
|
||||
sudo apt install -y jq gawk libelf-dev qemu-utils
|
||||
sudo snap install yq
|
||||
@ -105,10 +104,6 @@ jobs:
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "${{ inputs.next }}" = "true" ]; then
|
||||
VERSION="${VERSION}-next"
|
||||
fi
|
||||
|
||||
echo "Version: ${VERSION}"
|
||||
echo "VERSION=${VERSION}" >> $GITHUB_ENV
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user