Skip to content

Commit

Permalink
Update GHA & build script: add build mode to matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
ibressler committed Jun 20, 2024
1 parent 40bca08 commit 95f1953
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ jobs:
strategy:
matrix:
os: ['ubuntu-22.04']
include:
- env: BUILD_MODE=release
- env: BUILD_MODE=debug
runs-on: ${{ matrix.os }}
steps:
- name: Checking out the repo
Expand Down
1 change: 1 addition & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ gcc --version

name="sasfit-tcl"
mode="$1"
[ -z "$mode" ] && mode="$BUILD_MODE" # use env var if empty
arch="$(uname -m)"
plat="$(uname -s)"
conf=
Expand Down

0 comments on commit 95f1953

Please sign in to comment.