From f6eb0cb349783f20b1a93768dad1debcfda0bc2c Mon Sep 17 00:00:00 2001 From: Bensuperpc Date: Fri, 14 May 2021 17:14:22 +0200 Subject: [PATCH] Update git action and crosstool-ng --- .github/workflows/main.yml | 11 ++++++----- imagefiles/install-crosstool-ng-toolchain.sh | 4 ++-- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 89e4aa7..ca5edab 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,7 +11,8 @@ on: pull_request: branches: - '*' - + schedule: + - cron: '0 7 * * 2' # every tuesday at 7:00 https://crontab.guru/#0_7_*_*_1 jobs: base: name: base @@ -25,7 +26,7 @@ jobs: - name: archive base run: | mkdir -p cache - docker save -o ./cache/base.tar dockcross/base:latest + docker save -o ./cache/base.tar bensuperpc/base:latest - name: save base uses: actions/upload-artifact@v2 with: @@ -36,7 +37,7 @@ jobs: if: github.ref == 'refs/heads/master' run: | docker login -u ${{ secrets.DOCKER_USER }} -p ${{ secrets.DOCKER_PASS }} - docker image push dockcross/base + docker image push bensuperpc/base image: name: ${{ matrix.arch_name }} @@ -64,7 +65,7 @@ jobs: if: github.ref == 'refs/heads/master' run: | docker login -u ${{ secrets.DOCKER_USER }} -p ${{ secrets.DOCKER_PASS }} - docker image push dockcross/${{ matrix.arch_name }} + docker image push bensuperpc/${{ matrix.arch_name }} # Docker images need to remove after deploy or tests, not enough memory to build all images on github action (14 GB of SSD) - name: clean - run: docker image rm -f dockcross/${{ matrix.arch_name }} + run: docker image rm -f bensuperpc/${{ matrix.arch_name }} diff --git a/imagefiles/install-crosstool-ng-toolchain.sh b/imagefiles/install-crosstool-ng-toolchain.sh index 9399b5f..6a023c5 100755 --- a/imagefiles/install-crosstool-ng-toolchain.sh +++ b/imagefiles/install-crosstool-ng-toolchain.sh @@ -66,11 +66,11 @@ cd "${CTNG}" # Download and install the "crosstool-ng" source. # crosstool-ng master 2021-05-12 -COMMIT=f9716e8b9042eb14de85320987300aab99300df5 +#COMMIT=f9716e8b9042eb14de85320987300aab99300df5 git clone https://github.com/crosstool-ng/crosstool-ng.git cd "crosstool-ng" -git checkout ${COMMIT} +#git checkout ${COMMIT} # Bootstrap and install the tool. BOOTSTRAP_PREFIX="${CTNG}/prefix"