Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ci] Build package on OpenWrt 23.05 branch #216 #218

Merged
merged 1 commit into from
Sep 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
jobs:
tests:
name: QA-Checks and Tests
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v2
Expand All @@ -21,7 +21,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.7
python-version: 3.x

- name: Install Dependencies
id: deps
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
build:
name: Build and Upload Packages
needs: tests
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
env:
BUILD_DIR: "/home/runner/work/build"
DOWNLOADS_DIR: "/home/runner/work/downloads"
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
CI_CACHE: ${{ steps.cache.outputs.cache-hit }}

- name: Upload packages as artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: Packages
path: "${{ env.DOWNLOADS_DIR }}/${{ env.START_TIME }}"
Expand Down
4 changes: 2 additions & 2 deletions runbuild
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ COMPILE_TARGET=${COMPILE_TARGET-mips_24kc}
LATEST_LINK="$DOWNLOADS_DIR/latest"
CORES=${CORES:-1}
CURRENT_DIR=$(pwd)
OPENWRT_BRANCH="openwrt-21.02"
OPENWRT_BRANCH="openwrt-23.05"

mkdir -p "$BUILD_DIR"
mkdir -p "$VERSIONED_DIR"
cd "$BUILD_DIR"

if ! [ -d "openwrt" ]; then
git clone https://git.openwrt.org/openwrt/openwrt.git
git clone https://git.openwrt.org/openwrt/openwrt.git --depth 1 --branch $OPENWRT_BRANCH
fi
cd openwrt
git reset --hard HEAD
Expand Down
Loading