Add pull request trigger to build_test workflow #36
Workflow file for this run
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
| name: Build distribution packages | |
| on: | |
| push: | |
| branches: | |
| - '**' | |
| pull_request: | |
| branches: | |
| - '**' | |
| jobs: | |
| rpm_test_build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v5 | |
| - name: Build image based on RHEL7 | |
| run: docker build -t sems_el7 -f Dockerfile-rhel7 . | |
| - name: Build image based on RHEL8 | |
| run: docker build -t sems_el8 -f Dockerfile-rhel8 . | |
| - name: Build image based on RHEL9 | |
| run: docker build -t sems_el9 -f Dockerfile-rhel9 . | |
| - name: Build image based on RHEL10 | |
| run: docker build -t sems_el10 -f Dockerfile-rhel10 . | |
| deb_test_build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v5 | |
| - name: Build image based on Debian 11 | |
| run: docker build -t sems_deb11 -f Dockerfile-debian11 . | |
| - name: Build image based on Debian 12 | |
| run: docker build -t sems_deb12 -f Dockerfile-debian12 . | |
| - name: Build image based on Debian 13 | |
| run: docker build -t sems_deb13 -f Dockerfile-debian13 . |