|
3 | 3 | push: |
4 | 4 | workflow_dispatch: |
5 | 5 |
|
6 | | -x-renode-revisions: &RENODE_REVISIONS |
7 | | - - repository: 'https://github.com/renode/renode' |
8 | | - revision: v1.16.1 |
9 | | - name: renode-stable |
10 | | - - repository: 'https://github.com/renode/renode' |
11 | | - revision: master |
12 | | - name: renode-latest |
13 | | - # Here you can add your fork of Renode to test on |
14 | | - # - repository: 'https://github.com/your-organization/renode' |
15 | | - # revision: your-branch |
16 | | - # name: renode-custom |
17 | | - |
18 | | - |
19 | 6 | jobs: |
20 | | - build: |
21 | | - runs-on: ubuntu-24.04 |
22 | | - steps: |
23 | | - - name: Clone repository |
24 | | - uses: actions/checkout@v5 |
25 | | - |
26 | | - - name: Configure git and artifacts dir |
27 | | - run: | |
28 | | - git config --global user.name "Antmicro" |
29 | | - git config --global user.email "contact@antmicro.com" |
30 | | -
|
31 | | - - name: Run custom build.sh |
32 | | - run: ./build.sh |
33 | | - |
34 | | - - name: Prepare Python dependencies |
35 | | - run: pip3 install -r requirements.txt |
36 | | - |
37 | | - - name: Archive build results |
38 | | - uses: actions/upload-artifact@v4 |
39 | | - with: |
40 | | - name: build-results |
41 | | - path: | |
42 | | - artifacts |
43 | | - |
44 | 7 | test: |
45 | 8 | runs-on: ubuntu-24.04 |
46 | 9 | needs: build |
47 | 10 | strategy: |
48 | 11 | fail-fast: false |
49 | 12 | matrix: |
50 | | - item: *RENODE_REVISIONS |
| 13 | + item: |
| 14 | + # Here you can add your fork of Renode |
| 15 | + - repository: 'https://github.com/renode/renode' |
| 16 | + revision: v1.16.1 |
| 17 | + name: renode-stable |
| 18 | + - repository: 'https://github.com/renode/renode' |
| 19 | + revision: master |
| 20 | + name: renode-latest |
| 21 | + # - repository: 'https://github.com/your-organization/renode' |
| 22 | + # revision: your-branch |
| 23 | + # name: renode-custom |
51 | 24 | steps: |
52 | 25 | - uses: actions/download-artifact@v4 |
53 | 26 | with: |
|
69 | 42 | log.html |
70 | 43 | robot_output.xml |
71 | 44 |
|
| 45 | + build: |
| 46 | + runs-on: ubuntu-24.04 |
| 47 | + steps: |
| 48 | + - name: Clone repository |
| 49 | + uses: actions/checkout@v5 |
| 50 | + |
| 51 | + - name: Configure git and artifacts dir |
| 52 | + run: | |
| 53 | + git config --global user.name "Antmicro" |
| 54 | + git config --global user.email "contact@antmicro.com" |
| 55 | +
|
| 56 | + - name: Run custom build.sh |
| 57 | + run: ./build.sh |
| 58 | + |
| 59 | + - name: Prepare Python dependencies |
| 60 | + run: pip3 install -r requirements.txt |
| 61 | + |
| 62 | + - name: Archive build results |
| 63 | + uses: actions/upload-artifact@v4 |
| 64 | + with: |
| 65 | + name: build-results |
| 66 | + path: | |
| 67 | + artifacts |
| 68 | + |
0 commit comments