When building FreeRADIUS in a docker container, runner.os is the host
platform - so does not change to reflect the docker image the build is
running in.
test_type:
desription: What test is being run
default: gcc
+ platform:
+ description: Platform the build is on
runs:
id: hostapd-cache
with:
path: ${{ env.HOSTAPD_BUILD_DIR }}
- key: hostapd-${{ runner.os }}-${{ env.HOSTAPD_GIT_TAG }}-v4
+ key: hostapd-${{ runner.os }}-${{ inputs.platform }}-${{ env.HOSTAPD_GIT_TAG }}-v4
if: ${{ inputs.test_type != 'fuzzing' }}
# Has issues in Docker container when running on GitHub...
use_sanitizers: true
cc: ${{ matrix.env.CC }}
test_type: ${{ matrix.env.TEST_TYPE }}
+ platform: ${{ matrix.os.imageos }}
- name: Run main CI tests
uses: ./.github/actions/ci-tests
use_sanitizers: false
cc: ${{ matrix.env.CC }}
test_type: ${{ matrix.env.TEST_TYPE }}
+ platform: ${{ matrix.os.imageos }}
- name: Run main CI tests
uses: ./.github/actions/ci-tests