Skip to content

Commit

Permalink
fix hardcoded sdk version
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier committed Jun 6, 2021
1 parent 85952d9 commit c2a0ca6
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/jit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,28 +154,31 @@ jobs:
SDK_FILENAME=${{ matrix.config.sdk }}
curl -L -O "https://github.com/ossia/score/releases/download/continuous/$SDK_FILENAME"
mkdir -p "$HOME/Documents/ossia score library/SDK"
unzip -qq "$SDK_FILENAME" -d "$HOME/Documents/ossia score library/SDK/3.0.0-a38"
unzip -qq "$SDK_FILENAME" -d "sdk"
- name: Compile
if: matrix.config.name == 'macOS'
shell: bash
run: |
export SCORE_JIT_SDK="$PWD/sdk/usr"
SCORE_FILENAME=/Volumes/score/score.app/Contents/MacOS/score
$SCORE_FILENAME --no-gui --compile-addon $PWD
$SCORE_FILENAME --no-gui --compile-addon "$PWD"
- name: Compile
if: matrix.config.name == 'Windows'
shell: cmd
shell: bash
run: |
set QT_FORCE_STDERR_LOGGING=1
set QT_ASSUME_STDERR_HAS_CONSOLE=1
score.exe --no-gui --compile-addon "%cd%"
export SCORE_JIT_SDK="$PWD/sdk/usr"
export QT_FORCE_STDERR_LOGGING=1
export QT_ASSUME_STDERR_HAS_CONSOLE=1
./score.exe --no-gui --compile-addon "$PWD"
- name: Compile
if: matrix.config.name == 'Ubuntu'
shell: bash
run: |
sudo apt -y install xvfb libasound2 libxcb1 libglvnd0 libx11-6 libxcb-glx0 libgl1 libdbus-1-3 libxcb-xkb1 libxkbcommon-x11-0 libxcb-xkb1
SCORE_FILENAME=ossia.score-master-${{ matrix.config.score }}
export SCORE_JIT_SDK="$PWD/sdk/usr"
chmod +x $SCORE_FILENAME
xvfb-run --auto-servernum ./$SCORE_FILENAME --no-gui --compile-addon $PWD
xvfb-run --auto-servernum ./$SCORE_FILENAME --no-gui --compile-addon "$PWD"

0 comments on commit c2a0ca6

Please sign in to comment.