1
0
mirror of https://github.com/antonblanchard/microwatt.git synced 2026-04-18 16:17:59 +00:00

ci: use job.container

Signed-off-by: umarcor <unai.martinezcorral@ehu.eus>
This commit is contained in:
umarcor
2020-11-30 22:17:13 +01:00
parent e40e752b9a
commit 93b2987b19

View File

@@ -10,17 +10,21 @@ jobs:
build:
runs-on: ubuntu-latest
container: ghdl/vunit:llvm
steps:
- uses: actions/checkout@v2
- run: docker pull ghdl/vunit:llvm
- run: docker run -t -v $PWD:/build -w /build ghdl/vunit:llvm bash -c "make GNATMAKE='gnatmake -j'$(nproc)"
- run: make GNATMAKE='gnatmake -j'$(nproc)
py:
needs: [build]
runs-on: ubuntu-latest
container: ghdl/vunit:llvm
steps:
- uses: actions/checkout@v2
- run: docker run -t -v $PWD:/build -w /build ghdl/vunit:llvm bash -c "apt update && apt install -y python3-pexpect && make -j$(nproc) test_micropython test_micropython_long"
- run: |
apt update
apt install -y python3-pexpect
make -j$(nproc) test_micropython test_micropython_long
test:
needs: [build]
@@ -43,9 +47,10 @@ jobs:
"{900..999}",
]
runs-on: ubuntu-latest
container: ghdl/vunit:llvm
steps:
- uses: actions/checkout@v2
- run: docker run -t -v $PWD:/build -w /build ghdl/vunit:llvm bash -c "make -j$(nproc) ${{ matrix.task }}"
- run: bash -c "make -j$(nproc) ${{ matrix.task }}"
symbiflow:
strategy:
@@ -74,5 +79,3 @@ jobs:
steps:
- uses: actions/checkout@v2
- run: make DOCKER=1 microwatt.v