Skip to content

Commit

Permalink
github/workflows: set configuration in matrix
Browse files Browse the repository at this point in the history
Create a special configuration for each matrix build.
Allows programmatic access to the build directory
since the configuration name is constant for each run.
No wildcards needed.
  • Loading branch information
matheusmoreira committed Sep 21, 2024
1 parent b1528f7 commit 3fa90f6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/lone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:
LDFLAGS: -Wl,--spare-program-headers,2

env:
CONFIGURATION: ${{ matrix.compiler.name }}-${{ matrix.linker.name }}
CC: ${{ matrix.compiler.env.CC }}
LD: ${{ matrix.linker.env.LD }}
CFLAGS: ${{ matrix.compiler.env.CFLAGS }}
Expand Down

0 comments on commit 3fa90f6

Please sign in to comment.