mirror of
https://github.com/Waujito/youtubeUnblock.git
synced 2024-12-22 14:26:11 +00:00
Delete workflow for kmod
This commit is contained in:
parent
cdb26833ba
commit
2d1b58bc6d
101
.github/workflows/build-ci.yml
vendored
101
.github/workflows/build-ci.yml
vendored
@ -229,104 +229,6 @@ jobs:
|
|||||||
path: /builder/youtubeUnblock*.ipk
|
path: /builder/youtubeUnblock*.ipk
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
||||||
|
|
||||||
build-openwrt-kmod:
|
|
||||||
needs: prepare
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
branch:
|
|
||||||
- openwrt-23.05
|
|
||||||
- openwrt-22.03
|
|
||||||
- openwrt-21.02
|
|
||||||
- openwrt-19.07
|
|
||||||
include:
|
|
||||||
- branch: openwrt-23.05
|
|
||||||
wd_path: /builder
|
|
||||||
- branch: openwrt-22.03
|
|
||||||
wd_path: /builder
|
|
||||||
- branch: openwrt-21.02
|
|
||||||
wd_path: /builder
|
|
||||||
- branch: openwrt-19.07
|
|
||||||
wd_path: /home/build/openwrt
|
|
||||||
arch:
|
|
||||||
- aarch64_cortex-a53
|
|
||||||
- aarch64_cortex-a72
|
|
||||||
- aarch64_generic
|
|
||||||
- arm_arm1176jzf-s_vfp
|
|
||||||
- arm_arm926ej-s
|
|
||||||
- arm_cortex-a15_neon-vfpv4
|
|
||||||
- arm_cortex-a5_vfpv4
|
|
||||||
- arm_cortex-a7
|
|
||||||
- arm_cortex-a7_neon-vfpv4
|
|
||||||
- arm_cortex-a7_vfpv4
|
|
||||||
- arm_cortex-a8_vfpv3
|
|
||||||
- arm_cortex-a9
|
|
||||||
- arm_cortex-a9_neon
|
|
||||||
- arm_cortex-a9_vfpv3-d16
|
|
||||||
- arm_fa526
|
|
||||||
- arm_mpcore
|
|
||||||
- arm_xscale
|
|
||||||
- mips64_octeonplus
|
|
||||||
- mips_24kc
|
|
||||||
- mips_4kec
|
|
||||||
- mips_mips32
|
|
||||||
- mipsel_24kc
|
|
||||||
- mipsel_24kc_24kf
|
|
||||||
- mipsel_74kc
|
|
||||||
- mipsel_mips32
|
|
||||||
- ramips-mt76x8
|
|
||||||
- x86_64
|
|
||||||
exclude:
|
|
||||||
- branch: openwrt-19.07
|
|
||||||
arch: arm_cortex-a7
|
|
||||||
- branch: openwrt-19.07
|
|
||||||
arch: mips_4kec
|
|
||||||
- branch: openwrt-19.07
|
|
||||||
arch: ramips-mt76x8
|
|
||||||
- branch: openwrt-19.07
|
|
||||||
arch: arm_cortex-a7_vfpv4
|
|
||||||
- branch: openwrt-21.02
|
|
||||||
arch: arm_cortex-a7_vfpv4
|
|
||||||
|
|
||||||
container:
|
|
||||||
image: openwrt/sdk:${{ matrix.arch }}-${{ matrix.branch }}
|
|
||||||
options: --user root
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
with:
|
|
||||||
ref: 'openwrt'
|
|
||||||
|
|
||||||
- name: Prepare build
|
|
||||||
env:
|
|
||||||
VERSION: ${{ needs.prepare.outputs.version }}
|
|
||||||
SHA: ${{ needs.prepare.outputs.sha }}
|
|
||||||
run: |
|
|
||||||
sed -i "s/PKG_REV:=.*$/PKG_REV:=$SHA/;s/PKG_VERSION:=.*$/PKG_VERSION:=$VERSION-$SHA/" kyoutubeUnblock/Makefile
|
|
||||||
- name: Build packages
|
|
||||||
id: build
|
|
||||||
env:
|
|
||||||
VERSION: ${{ needs.prepare.outputs.version }}
|
|
||||||
SHA: ${{ needs.prepare.outputs.sha }}
|
|
||||||
working-directory: ${{ matrix.wd_path }}
|
|
||||||
run: |
|
|
||||||
pwd
|
|
||||||
echo "src-link youtubeUnblock $GITHUB_WORKSPACE" >> feeds.conf
|
|
||||||
cat feeds.conf
|
|
||||||
./scripts/feeds update youtubeUnblock
|
|
||||||
./scripts/feeds install -a -p youtubeUnblock
|
|
||||||
make defconfig
|
|
||||||
make package/kyoutubeUnblock/compile V=s
|
|
||||||
cp $(find ./bin -type f -name 'kmod-youtubeUnblock*.ipk') ./
|
|
||||||
- name: Upload packages
|
|
||||||
if: steps.build.outcome == 'success'
|
|
||||||
uses: actions/upload-artifact@v4
|
|
||||||
with:
|
|
||||||
name: kmod-youtubeUnblock-${{ matrix.branch }}-${{ matrix.arch }}
|
|
||||||
path: ${{ matrix.wd_path }}/kmod-youtubeUnblock*.ipk
|
|
||||||
if-no-files-found: error
|
|
||||||
|
|
||||||
build-entware:
|
build-entware:
|
||||||
needs: prepare
|
needs: prepare
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -421,7 +323,7 @@ jobs:
|
|||||||
|
|
||||||
pre-release:
|
pre-release:
|
||||||
if: github.event_name != 'pull_request' && github.ref_name == 'main'
|
if: github.event_name != 'pull_request' && github.ref_name == 'main'
|
||||||
needs: [build-static, build-static-cross, build-openwrt, build-entware, build-openwrt-kmod]
|
needs: [build-static, build-static-cross, build-openwrt, build-entware]
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -435,6 +337,7 @@ jobs:
|
|||||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
automatic_release_tag: 'continuous'
|
automatic_release_tag: 'continuous'
|
||||||
prerelease: true
|
prerelease: true
|
||||||
|
draft: true
|
||||||
title: 'Development build'
|
title: 'Development build'
|
||||||
files: |
|
files: |
|
||||||
./**/youtubeUnblock*.ipk
|
./**/youtubeUnblock*.ipk
|
||||||
|
Loading…
Reference in New Issue
Block a user