Added UBI-9 container testing. #2
This file contains hidden or 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
# https://resources.github.com/learn/pathways/automation/essentials/application-testing-with-github-actions/ | |
name: build-test-ubi9 | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
# Default to bash | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
build: | |
runs-on: registry.access.redhat.com/ubi9/ubi:latest | |
steps: | |
- name: Install Build Tools | |
run: | | |
dnf install -y git gcc make cmake clang | |
- name: checkout repo | |
uses: actions/checkout@v4 | |
- name: Build | GNU | |
run: CC=gcc make clean genmake-app test-app install-app |