SQLCIPHER_STATIC please behave

This commit is contained in:
Michael Telatynski 2023-04-13 18:40:38 +01:00
parent 3e5ab092d3
commit 990d460841
No known key found for this signature in database
GPG Key ID: A2B008A5F49F5D0D

View File

@ -36,8 +36,6 @@ jobs:
defaults:
run:
shell: bash
env:
SQLCIPHER_STATIC: ${{ inputs.sqlcipher == 'static' && '1' || '' }}
steps:
- uses: kanga333/variable-mapper@master
id: config
@ -82,6 +80,11 @@ jobs:
- name: Install Deps
run: "yarn install --frozen-lockfile"
- name: Prepare for static sqlcipher build
if: inputs.sqlcipher === 'static'
run: |
echo "SQLCIPHER_STATIC=1" >> $GITHUB_ENV
# Ideally the docker image would be ready for cross-compilation but libsqlcipher-dev is not Multi-Arch compatible
# https://unix.stackexchange.com/a/349359
- name: Prepare for cross compilation