diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3d32079..1ec2604 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ jobs: build-os-matrix: needs: check runs-on: ubuntu-latest - outputs: + outputs: os: ${{ steps.os.outputs.os }} steps: - name: Build OS Array @@ -38,3 +38,11 @@ jobs: uses: ./.github/workflows/rpm-test.yml with: os: ${{ matrix.os }} + make-test: + needs: [build-os-matrix, build] + strategy: + matrix: + os: ${{ fromJSON(needs.build-os-matrix.outputs.os) }} + uses: ./.github/workflows/make-test.yml + with: + os: ${{ matrix.os }} diff --git a/.github/workflows/make-test.yml b/.github/workflows/make-test.yml new file mode 100644 index 0000000..549eac6 --- /dev/null +++ b/.github/workflows/make-test.yml @@ -0,0 +1,23 @@ +name: make-test + +on: + workflow_call: + inputs: + os: + required: true + type: string + +jobs: + make-test: + runs-on: ubuntu-latest + container: ${{ inputs.os }} + steps: + - name: Install dependencies + run: | + dnf install -y make gcc-c++ cmake3 git rpm-build fuse3-devel + - name: Check out repository code + uses: actions/checkout@v4 + - name: Mark github workspace as safe + run: git config --system --add safe.directory $PWD + - name: make test + run: make test