mirror of
https://github.com/bensuperpc/dockcross.git
synced 2025-06-18 17:09:25 +02:00
Compare commits
3 Commits
update_win
...
retry_meth
Author | SHA1 | Date | |
---|---|---|---|
b90f7052ec | |||
91ecbfe91e | |||
228e4c18cc |
32
.github/workflows/main.yml
vendored
32
.github/workflows/main.yml
vendored
@ -25,13 +25,7 @@ jobs:
|
||||
fetch-depth: 1
|
||||
|
||||
- name: build
|
||||
uses: nick-fields/retry@v2
|
||||
with:
|
||||
timeout_minutes: 120
|
||||
retry_wait_seconds: 40
|
||||
max_attempts: 3
|
||||
retry_on: error
|
||||
command: make base
|
||||
run: make base
|
||||
|
||||
- name: test
|
||||
run: make base.test
|
||||
@ -50,13 +44,7 @@ jobs:
|
||||
|
||||
- name: deploy
|
||||
if: github.ref == 'refs/heads/master'
|
||||
uses: nick-fields/retry@v2
|
||||
with:
|
||||
timeout_minutes: 30
|
||||
retry_wait_seconds: 30
|
||||
max_attempts: 4
|
||||
retry_on: error
|
||||
command: |
|
||||
run: |
|
||||
docker login -u ${{ secrets.DOCKER_USER }} -p ${{ secrets.DOCKER_PASS }}
|
||||
docker image push dockcross/base --all-tags
|
||||
|
||||
@ -869,13 +857,7 @@ jobs:
|
||||
run: xz -d -k < ./cache/base.tar.xz | docker load
|
||||
|
||||
- name: build
|
||||
uses: nick-fields/retry@v2
|
||||
with:
|
||||
timeout_minutes: 360
|
||||
retry_wait_seconds: 20
|
||||
max_attempts: 3
|
||||
retry_on: error
|
||||
command: make ${{ matrix.arch_name.image }}
|
||||
run: make ${{ matrix.arch_name.image }}
|
||||
|
||||
- name: basic test
|
||||
run: make ${{ matrix.arch_name.image }}.test
|
||||
@ -957,12 +939,6 @@ jobs:
|
||||
|
||||
- name: deploy
|
||||
if: github.ref == 'refs/heads/master'
|
||||
uses: nick-fields/retry@v2
|
||||
with:
|
||||
timeout_minutes: 30
|
||||
retry_wait_seconds: 30
|
||||
max_attempts: 4
|
||||
retry_on: error
|
||||
command: |
|
||||
run: |
|
||||
docker login -u ${{ secrets.DOCKER_USER }} -p ${{ secrets.DOCKER_PASS }}
|
||||
docker image push dockcross/${{ matrix.arch_name.image }} --all-tags
|
||||
|
@ -6,7 +6,7 @@ ENV XCC_PREFIX /usr/xcc
|
||||
ENV CROSS_TRIPLE aarch64-w64-mingw32
|
||||
ENV CROSS_ROOT ${XCC_PREFIX}/${CROSS_TRIPLE}-cross
|
||||
|
||||
ARG DOWNLOAD_URL=https://github.com/mstorsjo/llvm-mingw/releases/download/20220323/llvm-mingw-20220323-msvcrt-ubuntu-18.04-x86_64.tar.xz
|
||||
ARG DOWNLOAD_URL=https://github.com/mstorsjo/llvm-mingw/releases/download/20210423/llvm-mingw-20210423-msvcrt-ubuntu-18.04-x86_64.tar.xz
|
||||
ENV DOWNLOAD_URL=${DOWNLOAD_URL}
|
||||
|
||||
RUN mkdir -p ${CROSS_ROOT} && wget -qO- "${DOWNLOAD_URL}" | tar xJvf - --strip 1 -C ${CROSS_ROOT}/ > /dev/null
|
||||
|
@ -6,7 +6,7 @@ ENV XCC_PREFIX /usr/xcc
|
||||
ENV CROSS_TRIPLE armv7-w64-mingw32
|
||||
ENV CROSS_ROOT ${XCC_PREFIX}/${CROSS_TRIPLE}-cross
|
||||
|
||||
ARG DOWNLOAD_URL=https://github.com/mstorsjo/llvm-mingw/releases/download/20220323/llvm-mingw-20220323-msvcrt-ubuntu-18.04-x86_64.tar.xz
|
||||
ARG DOWNLOAD_URL=https://github.com/mstorsjo/llvm-mingw/releases/download/20210423/llvm-mingw-20210423-msvcrt-ubuntu-18.04-x86_64.tar.xz
|
||||
ENV DOWNLOAD_URL=${DOWNLOAD_URL}
|
||||
|
||||
RUN mkdir -p ${CROSS_ROOT} && wget -qO- "${DOWNLOAD_URL}" | tar xJvf - --strip 1 -C ${CROSS_ROOT}/ > /dev/null
|
||||
|
Reference in New Issue
Block a user