Skip to content

Commit 9735004

Browse files
Run Azure Linux CI on SNP (#6776)
Co-authored-by: Amaury Chamayou <[email protected]>
1 parent 9b166f8 commit 9735004

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/ci.yml

+9-2
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,12 @@ jobs:
9898
build_and_test_azure_linux:
9999
name: "Azure Linux CI"
100100
needs: checks
101+
strategy:
102+
matrix:
103+
platform:
104+
- name: virtual
105+
- name: snp
106+
101107
runs-on: [self-hosted, 1ES.Pool=gha-virtual-ccf-sub]
102108
container:
103109
image: mcr.microsoft.com/azurelinux/base/core:3.0
@@ -134,11 +140,12 @@ jobs:
134140
git config --global --add safe.directory /__w/CCF/CCF
135141
mkdir build
136142
cd build
137-
CC=`which clang` CXX=`which clang++` cmake -GNinja -DCOMPILE_TARGET=virtual -DCMAKE_BUILD_TYPE=Debug ..
143+
CC=`which clang` CXX=`which clang++` cmake -GNinja -DCOMPILE_TARGET=${{ matrix.platform.name }} -DCMAKE_BUILD_TYPE=Debug ..
138144
ninja
139145
shell: bash
140146

141-
- name: "Test virtual"
147+
- name: "Test ${{ matrix.platform.name }}"
148+
if: "${{ matrix.platform.name != 'snp' }}" # Needs 1ES Pool support
142149
run: |
143150
set -ex
144151
cd build

0 commit comments

Comments
 (0)