File tree 1 file changed +9
-2
lines changed
1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 98
98
build_and_test_azure_linux :
99
99
name : " Azure Linux CI"
100
100
needs : checks
101
+ strategy :
102
+ matrix :
103
+ platform :
104
+ - name : virtual
105
+ - name : snp
106
+
101
107
runs-on : [self-hosted, 1ES.Pool=gha-virtual-ccf-sub]
102
108
container :
103
109
image : mcr.microsoft.com/azurelinux/base/core:3.0
@@ -134,11 +140,12 @@ jobs:
134
140
git config --global --add safe.directory /__w/CCF/CCF
135
141
mkdir build
136
142
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 ..
138
144
ninja
139
145
shell : bash
140
146
141
- - name : " Test virtual"
147
+ - name : " Test ${{ matrix.platform.name }}"
148
+ if : " ${{ matrix.platform.name != 'snp' }}" # Needs 1ES Pool support
142
149
run : |
143
150
set -ex
144
151
cd build
You can’t perform that action at this time.
0 commit comments