Skip to content

Commit

Permalink
create multiple jobs with different env on job level not step level.
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamedElashri committed Sep 7, 2023
1 parent 25e3b84 commit 10260a0
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,14 @@ on:

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
compiler: [latest,clang++-12]
steps:
- uses: actions/checkout@v2

- name: Setup C/C++ Compiler
uses: rlalik/[email protected]
with:
matrix:
compiler: [latest,clang++-12]

- name: Build
run: make all
compiler: ${{ matrix.compiler }}

0 comments on commit 10260a0

Please sign in to comment.