Skip to content

Commit

Permalink
fixed build
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-epifanov committed Feb 12, 2022
1 parent 3771e2f commit 6ed3657
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ jobs:
- uses: actions/checkout@v2
with:
submodules: recursive
- run: sudo apt-get update -y
- run: sudo apt-get install -y ocl-icd-opencl-dev
- uses: actions-rs/toolchain@v1
with:
Expand Down
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,26 @@ target/bundle-common/Info.plist: res/Info.plist Cargo.toml Cargo.lock
mkdir -p target/bundle-common
sed "s/####VERSION####/`cargo read-manifest | jq -r '.version'`/" res/Info.plist > $@

target/gyroflow-ofx-linux.zip: target/release/libgyroflow_ofx.so LICENSE LICENSE-APACHE LICENSE-MIT README.md target/bundle-common/Info.plist Makefile
target/gyroflow-ofx-linux.zip: target/release/libgyroflow_ofx.so LICENSE README.md target/bundle-common/Info.plist Makefile
rm -Rf target/gyroflow-ofx-linux
rm -f target/gyroflow-ofx-linux.zip
mkdir -p target/gyroflow-ofx-linux/GyroFlow.ofx.bundle/Contents/Linux-x86-64
cp target/release/libgyroflow_ofx.so target/gyroflow-ofx-linux/GyroFlow.ofx.bundle/Contents/Linux-x86-64/GyroFlow.ofx
cp target/bundle-common/Info.plist LICENSE LICENSE-MIT LICENSE-APACHE README.md target/gyroflow-ofx-linux/GyroFlow.ofx.bundle/Contents/
cp target/bundle-common/Info.plist LICENSE README.md target/gyroflow-ofx-linux/GyroFlow.ofx.bundle/Contents/
cd target/gyroflow-ofx-linux && zip -r ../gyroflow-ofx-linux.zip .

target/gyroflow-ofx-macosx.zip: target/release/libgyroflow_ofx.dylib LICENSE LICENSE-APACHE LICENSE-MIT README.md target/bundle-common/Info.plist Makefile
target/gyroflow-ofx-macosx.zip: target/release/libgyroflow_ofx.dylib LICENSE README.md target/bundle-common/Info.plist Makefile
rm -Rf target/gyroflow-ofx-macosx
rm -f target/gyroflow-ofx-macosx.zip
mkdir -p target/gyroflow-ofx-macosx/GyroFlow.ofx.bundle/Contents/MacOS-x86-64
cp target/release/libgyroflow_ofx.dylib target/gyroflow-ofx-macosx/GyroFlow.ofx.bundle/Contents/MacOS-x86-64/GyroFlow.ofx
cp target/bundle-common/Info.plist LICENSE LICENSE-MIT LICENSE-APACHE README.md target/gyroflow-ofx-macosx/GyroFlow.ofx.bundle/Contents/
cp target/bundle-common/Info.plist LICENSE README.md target/gyroflow-ofx-macosx/GyroFlow.ofx.bundle/Contents/
cd target/gyroflow-ofx-macosx && zip -r ../gyroflow-ofx-macosx.zip .

target/gyroflow-ofx-windows.zip: target/release/gyroflow_ofx.dll LICENSE LICENSE-APACHE LICENSE-MIT README.md target/bundle-common/Info.plist Makefile
target/gyroflow-ofx-windows.zip: target/release/gyroflow_ofx.dll LICENSE README.md target/bundle-common/Info.plist Makefile
rm -Rf target/gyroflow-ofx-windows
rm -f target/gyroflow-ofx-windows.zip
mkdir -p target/gyroflow-ofx-windows/GyroFlow.ofx.bundle/Contents/Win64
cp target/release/gyroflow_ofx.dll target/gyroflow-ofx-windows/GyroFlow.ofx.bundle/Contents/Win64/GyroFlow.ofx
cp target/bundle-common/Info.plist LICENSE LICENSE-MIT LICENSE-APACHE README.md target/gyroflow-ofx-windows/GyroFlow.ofx.bundle/Contents/
cp target/bundle-common/Info.plist LICENSE README.md target/gyroflow-ofx-windows/GyroFlow.ofx.bundle/Contents/
cd target/gyroflow-ofx-windows && zip -r ../gyroflow-ofx-windows.zip .

0 comments on commit 6ed3657

Please sign in to comment.