Skip to content

Commit

Permalink
build script
Browse files Browse the repository at this point in the history
  • Loading branch information
arix00 committed Nov 24, 2024
1 parent 4c92fd9 commit 20713ed
Show file tree
Hide file tree
Showing 6 changed files with 110 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/cron_foss_snapshot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: auto build foss snapshot image
on:
schedule:
- cron: "30 12 * * 3,6"

jobs:
call-build-foss-snapshot:
permissions:
contents: write
uses:
./.github/workflows/foss_snapshot.yml

12 changes: 12 additions & 0 deletions .github/workflows/cron_nss_snapshot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: auto build nss snapshot
on:
schedule:
- cron: "30 12 * * 3,6"

jobs:
call-build-nss-snapshot:
permissions:
contents: write
uses:
./.github/workflows/nss_snapshot.yml

22 changes: 22 additions & 0 deletions .github/workflows/foss_24.10.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: build foss 24.10
on:
workflow_dispatch:
workflow_call:

jobs:
call-image-builder-foss-24_10:
permissions:
contents: write
uses:
arix00/openwrt-mx4300/.github/workflows/_image_builder.yml@build
with:
build_settings:
'{"SOURCE_REPO": "https://github.com/openwrt/openwrt.git",
"SOURCE_BRANCH": "openwrt-24.10",
"BUILD_REPO": "https://github.com/${{github.repository}}.git",
"BUILD_BRANCH": "build",
"BUILD_INIT": "init_build.sh",
"BUILD_TYPE": "foss",
"BUILD_VER": "24.10-SNAPSHOT",
"BUILD_TAG": "",
"BUILD_KMOD": "y"}'
22 changes: 22 additions & 0 deletions .github/workflows/foss_snapshot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: build foss snapshot
on:
workflow_dispatch:
workflow_call:

jobs:
call-image-builder-foss-snapshot:
permissions:
contents: write
uses:
arix00/openwrt-mx4300/.github/workflows/_image_builder.yml@build
with:
build_settings:
'{"SOURCE_REPO": "https://github.com/openwrt/openwrt.git",
"SOURCE_BRANCH": "main",
"BUILD_REPO": "https://github.com/${{github.repository}}.git",
"BUILD_BRANCH": "build",
"BUILD_INIT": "init_build.sh",
"BUILD_TYPE": "foss",
"BUILD_VER": "snapshot",
"BUILD_TAG": "",
"BUILD_KMOD": "y"}'
21 changes: 21 additions & 0 deletions .github/workflows/nss_24.10.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: build nss 24.10
on:
workflow_dispatch:

jobs:
call-image-builder-nss-24_10:
permissions:
contents: write
uses:
arix00/openwrt-mx4300/.github/workflows/_image_builder.yml@build
with:
build_settings:
'{"SOURCE_REPO": "https://github.com/openwrt/openwrt.git",
"SOURCE_BRANCH": "openwrt-24.10",
"BUILD_REPO": "https://github.com/${{github.repository}}.git",
"BUILD_BRANCH": "build",
"BUILD_INIT": "init_build.sh",
"BUILD_TYPE": "nss",
"BUILD_VER": "24.10-SNAPSHOT",
"BUILD_TAG": "",
"BUILD_KMOD": "y"}'
21 changes: 21 additions & 0 deletions .github/workflows/nss_snapshot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: build nss snapshot with kmod
on:
workflow_dispatch:
workflow_call:
jobs:
call-image-builder-nss-snapshot:
permissions:
contents: write
uses:
arix00/openwrt-mx4300/.github/workflows/_image_builder.yml@build
with:
build_settings:
'{"SOURCE_REPO": "https://github.com/openwrt/openwrt.git",
"SOURCE_BRANCH": "main",
"BUILD_REPO": "https://github.com/${{github.repository}}.git",
"BUILD_BRANCH": "build",
"BUILD_INIT": "init_build.sh",
"BUILD_TYPE": "nss",
"BUILD_VER": "snapshot",
"BUILD_TAG": "",
"BUILD_KMOD": "y"}'

0 comments on commit 20713ed

Please sign in to comment.