Use new images
This commit is contained in:
parent
40d7f83e31
commit
47dc68aa45
2 changed files with 27 additions and 7 deletions
7
.github/actions/ci-container/action.yaml
vendored
Normal file
7
.github/actions/ci-container/action.yaml
vendored
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
name: ci-container
|
||||||
|
runs:
|
||||||
|
using: 'docker'
|
||||||
|
image: 'docker.pkg.github.com/apache/incubator-nuttx-testing/nuttx-ci-linux'
|
||||||
|
args:
|
||||||
|
- "-c"
|
||||||
|
- ${{ inputs.run }}
|
27
.github/workflows/main.yml
vendored
27
.github/workflows/main.yml
vendored
|
@ -18,7 +18,6 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
check:
|
check:
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-18.04
|
||||||
container: liuguo09/ubuntu-nuttx:18.04
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout nuttx repo
|
- name: Checkout nuttx repo
|
||||||
|
@ -60,12 +59,12 @@ jobs:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-18.04
|
||||||
container: liuguo09/ubuntu-nuttx:18.04
|
env:
|
||||||
|
DOCKER_BUILDKIT: 1
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
boards: [arm-01, arm-02, arm-03, arm-04, arm-05, arm-06, arm-07, arm-08, arm-09, arm-10, arm-11, arm-12, arm-13, arm-14, arm-15, mips-riscv-x86, sim]
|
boards: [arm-01, arm-02, arm-03, arm-04, arm-05, arm-06, arm-07, arm-08, arm-09, arm-10, arm-11, arm-12, arm-13, arm-14, arm-15, mips-riscv-x86, sim, xtensa]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout nuttx repo
|
- name: Checkout nuttx repo
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
@ -91,7 +90,21 @@ jobs:
|
||||||
repository: apache/incubator-nuttx-testing
|
repository: apache/incubator-nuttx-testing
|
||||||
path: testing
|
path: testing
|
||||||
|
|
||||||
|
- name: Docker Login
|
||||||
|
uses: azure/docker-login@v1
|
||||||
|
with:
|
||||||
|
login-server: docker.pkg.github.com
|
||||||
|
username: ${GITHUB_ACTOR}
|
||||||
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
- name: Run Pull Container
|
||||||
|
uses: ./nuttx/.github/actions/ci-container
|
||||||
|
|
||||||
- name: Run builds
|
- name: Run builds
|
||||||
run: |
|
uses: ./nuttx/.github/actions/ci-container
|
||||||
cd testing
|
env:
|
||||||
./cibuild.sh -x testlist/${{matrix.boards}}.dat
|
BLOBDIR: /tools/blobs
|
||||||
|
with:
|
||||||
|
run: |
|
||||||
|
cd testing
|
||||||
|
./cibuild.sh -x testlist/${{matrix.boards}}.dat
|
||||||
|
|
Loading…
Reference in a new issue