# to never run the tests, otherwise its value is passed to
# the "make test" command to allow selective disabling of
# tests.
+ # qemucpu: optional; string that describes CPU properties.
+ # The string will be used to set the QEMU_CPU variable.
+ # opensslcapsname: optional; string that describes the postfix of the
+ # OpenSSL environment variable that defines CPU
+ # capabilities. E.g. "foo" will result in an
+ # environment variable with the name OPENSSL_foo.
+ # opensslcaps: optional; if opensslcapsname (see above) is set, then
+ # this string will be used as content for the OpenSSL
+ # capabilities variable.
platform: [
{
arch: aarch64-linux-gnu,
if: github.event_name == 'push' && matrix.platform.tests != 'none'
run: sudo apt-get -yq --force-yes install qemu-user
+ - name: Set QEMU environment
+ if: github.event_name == 'push' && matrix.platform.qemucpu != ''
+ run: echo "QEMU_CPU=${{ matrix.platform.qemucpu }}" >> $GITHUB_ENV
+
+ - name: Set OpenSSL caps environment
+ if: github.event_name == 'push' && matrix.platform.opensslcapsname != ''
+ run: echo "OPENSSL_${{ matrix.platform.opensslcapsname }}=\
+ ${{ matrix.platform.opensslcaps }}" >> $GITHUB_ENV
+
- name: make all tests
if: github.event_name == 'push' && matrix.platform.tests == ''
run: |