|
1 | 1 | name: Check
|
2 | 2 | on:
|
3 |
| - push: |
4 |
| - branches: |
5 |
| - - main |
6 |
| - pull_request: |
| 3 | + push: |
| 4 | + branches: |
| 5 | + - main |
| 6 | + pull_request: |
7 | 7 |
|
8 | 8 | env:
|
9 | 9 | EDGEE_API_TOKEN: ${{ secrets.EDGEE_API_TOKEN }}
|
10 | 10 |
|
11 | 11 | jobs:
|
12 |
| - test: |
13 |
| - name: test |
14 |
| - runs-on: ubuntu-latest |
15 |
| - steps: |
16 |
| - - name: Checkout |
17 |
| - uses: actions/checkout@v4 |
| 12 | + full-ci: |
| 13 | + name: Full CI (${{ matrix.dir }}) |
| 14 | + runs-on: ubuntu-latest |
| 15 | + strategy: |
| 16 | + matrix: |
| 17 | + dir: [consent-management, data-collection] |
| 18 | + defaults: |
| 19 | + run: |
| 20 | + working-directory: ${{ matrix.dir }} |
| 21 | + steps: |
| 22 | + - name: Checkout |
| 23 | + uses: actions/checkout@v4 |
18 | 24 |
|
19 |
| - - name: "Set up Dotnet SDK" |
20 |
| - run: | |
21 |
| - wget https://download.visualstudio.microsoft.com/download/pr/c526dc3b-5240-4449-ba07-ed9a3610fe09/442f1cf6e4e832eea0b045f9e108c8b7/dotnet-sdk-10.0.100-preview.2.25164.34-linux-x64.tar.gz |
22 |
| - mkdir -p $HOME/dotnet && tar zxf dotnet-sdk-10.0.100-preview.2.25164.34-linux-x64.tar.gz -C $HOME/dotnet |
| 25 | + - name: "Set up Dotnet SDK" |
| 26 | + run: | |
| 27 | + wget https://download.visualstudio.microsoft.com/download/pr/c526dc3b-5240-4449-ba07-ed9a3610fe09/442f1cf6e4e832eea0b045f9e108c8b7/dotnet-sdk-10.0.100-preview.2.25164.34-linux-x64.tar.gz |
| 28 | + mkdir -p $HOME/dotnet && tar zxf dotnet-sdk-10.0.100-preview.2.25164.34-linux-x64.tar.gz -C $HOME/dotnet |
23 | 29 |
|
24 |
| - - name: Install edgee |
25 |
| - uses: edgee-cloud/[email protected] |
| 30 | + - name: Install edgee |
| 31 | + uses: edgee-cloud/[email protected] |
26 | 32 |
|
27 |
| - - name: Build component |
28 |
| - run: | |
29 |
| - export DOTNET_ROOT=$HOME/dotnet |
30 |
| - export PATH=$HOME/dotnet:$PATH |
31 |
| - edgee component build |
| 33 | + - name: Build component |
| 34 | + run: | |
| 35 | + export DOTNET_ROOT=$HOME/dotnet |
| 36 | + export PATH=$HOME/dotnet:$PATH |
| 37 | + edgee component build |
32 | 38 |
|
33 |
| - - name: Verify .wasm file exists |
34 |
| - run: | |
35 |
| - if [ ! -f "./dc_component.wasm" ]; then |
36 |
| - echo "❌ Error: dc_component.wasm not found" >&2 |
37 |
| - exit 1 |
38 |
| - fi |
| 39 | + - name: Verify .wasm file exists |
| 40 | + run: | |
| 41 | + if [ ! -f "./dc_component.wasm" ]; then |
| 42 | + echo "❌ Error: dc_component.wasm not found" >&2 |
| 43 | + exit 1 |
| 44 | + fi |
0 commit comments