fix naming of checkmake ci workflow #12
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 buildbox images | |
| on: | |
| push: | |
| tags: | |
| - v* | |
| branches: | |
| - main | |
| - release-* | |
| pull_request: | |
| branches: | |
| - main | |
| - release-* | |
| # cancel the in-progress workflow when PR is refreshed. | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| ImageBuild: | |
| strategy: | |
| matrix: | |
| os: [fedora, suse, debian, ubuntu] | |
| lang: [c,latex] | |
| container_cmd: [podman, docker] | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Build the container image | |
| run: | | |
| make CONTAINER_CMD=${{matrix.container_cmd}} IMAGE_OS=${{ matrix.os}} IMAGE_LANG=${{ matrix.lang}} image-build | |
| # run various checks | |
| Checks: | |
| name: CheckMake | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: install Checkmake | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y wget | |
| wget https://github.com/mrtazz/checkmake/releases/download/0.2.2/checkmake-0.2.2.linux.amd64 | |
| sudo install ./checkmake-0.2.2.linux.amd64 /usr/local/bin/checkmake | |
| - name: run CheckMake | |
| run: make checkmake | |