Skip to content

Commit

Permalink
[ci] Build package on OpenWrt 23.05 branch #216
Browse files Browse the repository at this point in the history
Use Ubuntu 24.04 for build OS

Closes #216
  • Loading branch information
pandafy committed Sep 17, 2024
1 parent 5c49a21 commit 7444cb1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 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
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

0 comments on commit 7444cb1

Please sign in to comment.