kopia lustrzana https://github.com/jameshball/osci-render
Build free and premium version of osci-render
rodzic
214dbbdffd
commit
338c18fcca
|
@ -12,6 +12,11 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
project: [osci-render, sosci]
|
||||
include:
|
||||
- version: premium
|
||||
project: [osci-render, sosci]
|
||||
- version: free
|
||||
project: [osci-render]
|
||||
steps:
|
||||
- name: Fix up git URLs
|
||||
run: echo -e '[url "https://github.com/"]\n insteadOf = "git@github.com:"' >> ~/.gitconfig
|
||||
|
@ -27,7 +32,7 @@ jobs:
|
|||
export OS="linux"
|
||||
source ./ci/setup-env.sh
|
||||
source ./ci/test.sh
|
||||
source ./ci/build.sh "${{ matrix.project }}"
|
||||
source ./ci/build.sh "${{ matrix.project }}" "${{ matrix.version }}"
|
||||
shell: bash
|
||||
|
||||
- name: Upload Artifact
|
||||
|
|
|
@ -1,6 +1,13 @@
|
|||
#!/bin/bash -e
|
||||
|
||||
PLUGIN="$1"
|
||||
VERSION="$2"
|
||||
|
||||
# If we are on the free version, we need to disable the build flag SOSCI_FEATURES
|
||||
if [ "$VERSION" = "free" ]; then
|
||||
# Edit the jucer file to disable the SOSCI_FEATURES flag
|
||||
sed -i '' 's/SOSCI_FEATURES=1/SOSCI_FEATURES=0/' "$ROOT/$PLUGIN.jucer"
|
||||
fi
|
||||
|
||||
# Resave jucer file
|
||||
RESAVE_COMMAND="$PROJUCER_PATH --resave '$ROOT/$PLUGIN.jucer'"
|
||||
|
|
Ładowanie…
Reference in New Issue