Skip to content
Merged
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
22 changes: 12 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
pull_request:
branches:
- opendingux
schedule:
- cron: '* * 1 * *'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -16,7 +18,7 @@ concurrency:
jobs:
build:
name: Build
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
container:
image: ghcr.io/opendingux/retro-toolchain/buildroot

Expand Down Expand Up @@ -55,17 +57,17 @@ jobs:
TOP_MAKE_COMMAND: utils/brmake
BR2_JLEVEL: 0
FORCE_UNSAFE_CONFIGURE: 1
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: toolchain-${{ matrix.target }}
path: |
output/${{ matrix.target }}/images/*.tar*
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: update-${{ matrix.target }}
path: |
output/${{ matrix.target }}/images/*.opk
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: always()
with:
name: ${{ matrix.target }}-log
Expand All @@ -85,19 +87,19 @@ jobs:
TOP_MAKE_COMMAND: utils/brmake
BR2_JLEVEL: 0
FORCE_UNSAFE_CONFIGURE: 1
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: ${{ matrix.target == 'rs90' }}
with:
name: odboot-client-linux
path: |
output/installer/images/odboot-client
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: ${{ matrix.target == 'rs90' }}
with:
name: vmlinuz
path: |
output/installer/images/vmlinuz.bin
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: ${{ matrix.target == 'rs90' && always() }}
with:
name: ${{ matrix.target }}-installer-log
Expand All @@ -106,7 +108,7 @@ jobs:

build-win:
name: Build odbootd (Windows)
runs-on: windows-2019
runs-on: windows-latest
needs: build
defaults:
run:
Expand Down Expand Up @@ -146,7 +148,7 @@ jobs:
with:
repository: 'OpenDingux/odbootd'
path: 'odbootd'
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: vmlinuz
path: odbootd
Expand All @@ -155,7 +157,7 @@ jobs:
PKG_CONFIG_PATH=/usr/lib/pkgconfig cmake -DWITH_ODBOOTD=OFF -DSTATIC_EXE=ON -DEMBEDDED_INSTALLER=vmlinuz.bin -Bbuild -G "MSYS Makefiles"
cmake --build build --config Release
working-directory: odbootd
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: odboot-client-windows
path: |
Expand Down
Loading