Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
gtxaspec committed May 14, 2024
1 parent fcce83d commit ef3ef8e
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/makefile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ env:

jobs:
build-notify:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
outputs:
start_time: ${{ steps.set_output.outputs.time }}
steps:
Expand All @@ -34,9 +34,7 @@ jobs:
build:
needs: build-notify
runs-on: ubuntu-latest
container:
image: debian:sid
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -82,17 +80,24 @@ jobs:
- name: Update repo sources
run: |
apt-get update
sudo apt-get update
- name: Install dependencies
run: |
apt-get install -y --no-install-recommends --no-install-suggests build-essential gcc-13 gcc-13-mipsel-linux-gnu lzop u-boot-tools git make ca-certificates curl
CROSS_COMPILE=mipsel-linux-gnu-; VER=${1:-13}; for app in cpp gcc gcc-ar gcc-nm gcc-ranlib gcov gcov-dump gcov-tool lto-dump; do if update-alternatives --query ${CROSS_COMPILE}${app} >/dev/null; then update-alternatives --set ${CROSS_COMPILE}${app} /usr/bin/${CROSS_COMPILE}${app}-${VER}; else update-alternatives --install /usr/bin/${CROSS_COMPILE}${app} ${CROSS_COMPILE}${app} /usr/bin/${CROSS_COMPILE}${app}-${VER} 1; fi; done; echo "Done"
sudo apt-get install -y --no-install-recommends --no-install-suggests build-essential ccache gcc gcc-mipsel-linux-gnu lzop u-boot-tools git make ca-certificates curl
git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Checkout
uses: actions/checkout@v4

- name: Install toolchain
run: |
mkdir ~/toolchain/; cd ~/toolchain/
wget https://github.com/themactep/thingino-firmware/releases/download/toolchain/thingino-toolchain_xburst1_musl_gcc13-linux-mipsel.tar.gz
tar -xf thingino-toolchain_xburst1_musl_gcc13-linux-mipsel.tar.gz
cd ~/toolchain/mipsel-thingino-linux-musl_sdk-buildroot/
./relocate-sdk.sh
- name: u-boot-ingenic Build
shell: bash
run: |
Expand Down

0 comments on commit ef3ef8e

Please sign in to comment.