Remove the cache_creator due to the removal of pre-navi10. #318
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check XGL | |
on: | |
push: | |
branches: | |
- '*' | |
- '!master' | |
pull_request: | |
jobs: | |
build-and-test: | |
name: "Features: ${{ matrix.feature-set }}" | |
runs-on: ${{ matrix.host-os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
host-os: ["ubuntu-20.04"] | |
image-template: ["amdvlk_%s%s:nightly"] | |
config: [Release] | |
feature-set: ["+gcc", "+gcc+assertions", | |
"+clang"] | |
steps: | |
- name: Checkout XGL | |
run: | | |
git clone https://github.com/${GITHUB_REPOSITORY}.git . | |
git fetch origin +${GITHUB_SHA}:${GITHUB_REF} --update-head-ok | |
git checkout ${GITHUB_SHA} | |
- name: Generate Docker base image tag string | |
run: | | |
CONFIG_LOWER=$(echo "${{ matrix.config }}" | tr "[:upper:]" "[:lower:]") | |
FEATURES_LOWER=$(echo "${{ matrix.feature-set }}" | tr "+" "_") | |
TAG=$(printf "${{ matrix.image-template }}" "$CONFIG_LOWER" "$FEATURES_LOWER") | |
echo "IMAGE_TAG=$TAG" | tee -a $GITHUB_ENV | |
- name: Fetch the latest prebuilt AMDVLK | |
run: docker pull "amdvlkadmin/$IMAGE_TAG" | |
- name: Build and Test with Docker | |
run: docker build . --file tools/cache_creator/docker/check_xgl.Dockerfile | |
--build-arg AMDVLK_IMAGE="amdvlkadmin/$IMAGE_TAG" | |
--build-arg XGL_REPO_NAME="${GITHUB_REPOSITORY}" | |
--build-arg XGL_REPO_REF="${GITHUB_REF}" | |
--build-arg XGL_REPO_SHA="${GITHUB_SHA}" | |
--tag xgl/xgl-ci |