|
Tact Yoshida |
c4f691 |
name: Build
|
|
Tact Yoshida |
c4f691 |
|
|
Tact Yoshida |
c4f691 |
on: [push, pull_request]
|
|
Tact Yoshida |
c4f691 |
|
|
Tact Yoshida |
c4f691 |
jobs:
|
|
Tact Yoshida |
c4f691 |
Ubuntu:
|
|
Tact Yoshida |
c4f691 |
runs-on: ubuntu-18.04
|
|
Tact Yoshida |
c4f691 |
strategy:
|
|
Tact Yoshida |
c4f691 |
matrix:
|
|
Tact Yoshida |
c4f691 |
compiler: [gcc, clang]
|
|
Tact Yoshida |
c4f691 |
include:
|
|
Tact Yoshida |
c4f691 |
- compiler: gcc
|
|
Tact Yoshida |
c4f691 |
cc: gcc
|
|
Tact Yoshida |
c4f691 |
cxx: g++
|
|
Tact Yoshida |
c4f691 |
- compiler: clang
|
|
Tact Yoshida |
c4f691 |
cc: clang
|
|
Tact Yoshida |
c4f691 |
cxx: clang++
|
|
Tact Yoshida |
c4f691 |
steps:
|
|
Tact Yoshida |
c4f691 |
- uses: actions/checkout@v2
|
|
Tact Yoshida |
c4f691 |
- name: Install libraries
|
|
Tact Yoshida |
c4f691 |
run: |
|
|
Tact Yoshida |
c125fb |
sudo apt-get update
|
|
Tact Yoshida |
c125fb |
sudo apt-get install build-essential cmake pkg-config ninja-build ccache libboost-all-dev qt5-default qtbase5-dev libqt5svg5-dev qtscript5-dev qttools5-dev qttools5-dev-tools libqt5opengl5-dev qtmultimedia5-dev libqt5multimedia5-plugins libsuperlu-dev liblz4-dev libusb-1.0-0-dev liblzo2-dev libpng-dev libjpeg-dev libglew-dev freeglut3-dev libfreetype6-dev libjson-c-dev qtwayland5 libmypaint-dev
|
|
Tact Yoshida |
c4f691 |
|
|
Tact Yoshida |
c4f691 |
- uses: actions/cache@v1
|
|
Tact Yoshida |
c4f691 |
with:
|
|
Tact Yoshida |
c4f691 |
path: /home/runner/.ccache
|
|
Tact Yoshida |
c4f691 |
key: ${{ runner.os }}-${{ matrix.compiler }}-${{ github.sha }}
|
|
Tact Yoshida |
c4f691 |
restore-keys: ${{ runner.os }}-${{ matrix.compiler }}-
|
|
Tact Yoshida |
c4f691 |
|
|
Tact Yoshida |
c4f691 |
- name: Build libtiff
|
|
Tact Yoshida |
c4f691 |
run: |
|
|
Tact Yoshida |
c4f691 |
cd thirdparty/tiff-4.0.3
|
|
Tact Yoshida |
c4f691 |
CFLAGS='-fPIC' CXXFLAGS='-fPIC' ./configure --disable-jbig
|
|
Tact Yoshida |
c4f691 |
make -j $(nproc)
|
|
Tact Yoshida |
c4f691 |
|
|
Tact Yoshida |
c4f691 |
- name: Build
|
|
Tact Yoshida |
c4f691 |
run: |
|
|
Tact Yoshida |
c4f691 |
cd toonz
|
|
Tact Yoshida |
c4f691 |
mkdir build
|
|
Tact Yoshida |
c4f691 |
cd build
|
|
Tact Yoshida |
c4f691 |
cmake ../sources -G Ninja -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER=${{ matrix.cxx }} -DCMAKE_C_COMPILER=${{ matrix.cc }}
|
|
Tact Yoshida |
c4f691 |
ninja
|
|
Tact Yoshida |
c4f691 |
|
|
Tact Yoshida |
c125fb |
- name: Create Artifact
|
|
Tact Yoshida |
c125fb |
run: |
|
|
Tact Yoshida |
c125fb |
cd toonz/build
|
|
Tact Yoshida |
c125fb |
sudo ninja install
|
|
Tact Yoshida |
c125fb |
|
|
Tact Yoshida |
c125fb |
mkdir -p appdir/usr
|
|
Tact Yoshida |
c125fb |
cp -r /opt/opentoonz/* appdir/usr
|
|
Tact Yoshida |
c125fb |
cp appdir/usr/share/applications/*.desktop appdir
|
|
Tact Yoshida |
c125fb |
cp appdir/usr/share/icons/hicolor/*/apps/*.png appdir
|
|
Tact Yoshida |
c125fb |
|
|
Tact Yoshida |
5cb3d1 |
mkdir artifact
|
|
Tact Yoshida |
5cb3d1 |
mv appdir/usr/share/opentoonz/stuff artifact/portablestuff
|
|
Tact Yoshida |
c125fb |
rmdir appdir/usr/share/opentoonz
|
|
Tact Yoshida |
c125fb |
|
|
Tact Yoshida |
c125fb |
wget -q -c 'https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage'
|
|
Tact Yoshida |
c125fb |
wget -q -c 'https://github.com/linuxdeploy/linuxdeploy-plugin-qt/releases/download/continuous/linuxdeploy-plugin-qt-x86_64.AppImage'
|
|
Tact Yoshida |
c125fb |
wget -q -c 'https://github.com/linuxdeploy/linuxdeploy-plugin-appimage/releases/download/continuous/linuxdeploy-plugin-appimage-x86_64.AppImage'
|
|
Tact Yoshida |
c125fb |
chmod 755 linuxdeploy-x86_64.AppImage
|
|
Tact Yoshida |
c125fb |
chmod 755 linuxdeploy-plugin-qt-x86_64.AppImage
|
|
Tact Yoshida |
c125fb |
chmod 755 linuxdeploy-plugin-appimage-x86_64.AppImage
|
|
Tact Yoshida |
c125fb |
|
|
Tact Yoshida |
c125fb |
cat << EOF > apprun.sh
|
|
Tact Yoshida |
c125fb |
#!/usr/bin/env bash
|
|
Tact Yoshida |
c125fb |
exec "\${APPDIR}/usr/bin/OpenToonz"
|
|
Tact Yoshida |
c125fb |
EOF
|
|
Tact Yoshida |
c125fb |
chmod 755 apprun.sh
|
|
Tact Yoshida |
c125fb |
|
|
Tact Yoshida |
c125fb |
export LD_LIBRARY_PATH='appdir/usr/lib/opentoonz'
|
|
Tact Yoshida |
c125fb |
./linuxdeploy-x86_64.AppImage --appdir=appdir --plugin=qt --output=appimage --custom-apprun=apprun.sh \
|
|
Tact Yoshida |
c125fb |
--executable=appdir/usr/bin/lzocompress \
|
|
Tact Yoshida |
c125fb |
--executable=appdir/usr/bin/lzodecompress \
|
|
Tact Yoshida |
c125fb |
--executable=appdir/usr/bin/tcleanup \
|
|
Tact Yoshida |
c125fb |
--executable=appdir/usr/bin/tcomposer \
|
|
Tact Yoshida |
c125fb |
--executable=appdir/usr/bin/tconverter \
|
|
Tact Yoshida |
c125fb |
--executable=appdir/usr/bin/tfarmcontroller \
|
|
Tact Yoshida |
c125fb |
--executable=appdir/usr/bin/tfarmserver
|
|
Tact Yoshida |
5cb3d1 |
mv OpenToonz*.AppImage artifact/OpenToonz.AppImage
|
|
Tact Yoshida |
5cb3d1 |
ARTIFACT_NAME=Opentoonz-${{ runner.os }}-${{ matrix.compiler }}-${{ github.sha }}
|
|
Tact Yoshida |
5cb3d1 |
mv artifact ${ARTIFACT_NAME}
|
|
Tact Yoshida |
5cb3d1 |
tar zcf ${ARTIFACT_NAME}.tar.gz ${ARTIFACT_NAME}
|
|
Tact Yoshida |
c125fb |
|
|
Tact Yoshida |
c125fb |
- uses: actions/upload-artifact@v1
|
|
Tact Yoshida |
c125fb |
with:
|
|
Tact Yoshida |
c125fb |
name: Opentoonz-${{ runner.os }}-${{ matrix.compiler }}-${{ github.sha }}
|
|
Tact Yoshida |
5cb3d1 |
path: toonz/build/Opentoonz-${{ runner.os }}-${{ matrix.compiler }}-${{ github.sha }}.tar.gz
|
|
Tact Yoshida |
c125fb |
|
|
Tact Yoshida |
c4f691 |
macOS:
|
|
Tact Yoshida |
c4f691 |
runs-on: macos-latest
|
|
Tact Yoshida |
c4f691 |
steps:
|
|
Tact Yoshida |
c4f691 |
- uses: actions/checkout@v2
|
|
Tact Yoshida |
c4f691 |
|
|
Tact Yoshida |
c4f691 |
- name: Install libraries
|
|
Tact Yoshida |
c4f691 |
run: |
|
|
Tact Yoshida |
c4f691 |
brew update
|
|
Tact Yoshida |
c4f691 |
brew install pkg-config ninja glew lz4 libjpeg libpng lzo qt boost libusb libmypaint ccache
|
|
Tact Yoshida |
c4f691 |
|
|
Tact Yoshida |
c4f691 |
- uses: actions/cache@v1
|
|
Tact Yoshida |
c4f691 |
with:
|
|
Tact Yoshida |
c4f691 |
path: /Users/runner/.ccache
|
|
Tact Yoshida |
c4f691 |
key: ${{ runner.os }}-${{ github.sha }}
|
|
Tact Yoshida |
c4f691 |
restore-keys: ${{ runner.os }}-
|
|
Tact Yoshida |
c4f691 |
|
|
Tact Yoshida |
c4f691 |
- name: Build libtiff
|
|
Tact Yoshida |
c4f691 |
run: |
|
|
Tact Yoshida |
8d13ab |
export PATH="/usr/local/opt/ccache/libexec:$PATH"
|
|
Tact Yoshida |
c4f691 |
cd thirdparty/tiff-4.0.3
|
|
Tact Yoshida |
c4f691 |
CFLAGS='-fPIC' CXXFLAGS='-fPIC' ./configure --disable-lzma
|
|
Tact Yoshida |
c4f691 |
make -j $(nproc)
|
|
Tact Yoshida |
c4f691 |
|
|
Tact Yoshida |
c4f691 |
- name: Build
|
|
Tact Yoshida |
c4f691 |
run: |
|
|
Tact Yoshida |
c4f691 |
cd toonz
|
|
Tact Yoshida |
c4f691 |
mkdir build
|
|
Tact Yoshida |
c4f691 |
cd build
|
|
Tact Yoshida |
c4f691 |
cmake ../sources -G Ninja -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DQT_PATH='/usr/local/opt/qt/lib'
|
|
Tact Yoshida |
c4f691 |
ninja -w dupbuild=warn
|
|
Tact Yoshida |
c4f691 |
|
|
Tact Yoshida |
8d13ab |
- name: Create Artifact
|
|
Tact Yoshida |
8d13ab |
run: |
|
|
Tact Yoshida |
8d13ab |
cd toonz/build/toonz
|
|
Tact Yoshida |
8d13ab |
cp -pr ../../../stuff OpenToonz.app/portablestuff
|
|
Tact Yoshida |
8d13ab |
/usr/local/opt/qt/bin/macdeployqt OpenToonz.app -dmg -verbose=1 -always-overwrite \
|
|
Tact Yoshida |
8d13ab |
-executable=OpenToonz.app/Contents/MacOS/lzocompress \
|
|
Tact Yoshida |
8d13ab |
-executable=OpenToonz.app/Contents/MacOS/lzodecompress \
|
|
Tact Yoshida |
8d13ab |
-executable=OpenToonz.app/Contents/MacOS/tcleanup \
|
|
Tact Yoshida |
8d13ab |
-executable=OpenToonz.app/Contents/MacOS/tcomposer \
|
|
Tact Yoshida |
8d13ab |
-executable=OpenToonz.app/Contents/MacOS/tconverter \
|
|
Tact Yoshida |
8d13ab |
-executable=OpenToonz.app/Contents/MacOS/tfarmcontroller \
|
|
Tact Yoshida |
8d13ab |
-executable=OpenToonz.app/Contents/MacOS/tfarmserver
|
|
Tact Yoshida |
8d13ab |
|
|
Tact Yoshida |
8d13ab |
- uses: actions/upload-artifact@v1
|
|
Tact Yoshida |
8d13ab |
with:
|
|
Tact Yoshida |
8d13ab |
name: Opentoonz-${{ runner.os }}-${{ github.sha }}
|
|
Tact Yoshida |
8d13ab |
path: toonz/build/toonz/OpenToonz.dmg
|
|
Tact Yoshida |
8d13ab |
|
|
Tact Yoshida |
c4f691 |
Windows:
|
|
Tact Yoshida |
c4f691 |
runs-on: windows-2019
|
|
Tact Yoshida |
c4f691 |
env:
|
|
Tact Yoshida |
c4f691 |
vcpkg_ref: d989ad416b923a9f895c4bddc446d1ef370a3af8
|
|
Tact Yoshida |
aadc03 |
CLCACHE_CL: 'C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Tools/MSVC/14.24.28314/bin/Hostx64/x64/cl_original.exe'
|
|
Tact Yoshida |
c4f691 |
steps:
|
|
Tact Yoshida |
c4f691 |
- uses: actions/checkout@v2
|
|
Tact Yoshida |
c4f691 |
|
|
Tact Yoshida |
c4f691 |
- name: Checkout mypaint/libmypaint
|
|
Tact Yoshida |
c4f691 |
uses: actions/checkout@v2
|
|
Tact Yoshida |
c4f691 |
with:
|
|
Tact Yoshida |
c4f691 |
repository: 'mypaint/libmypaint'
|
|
Tact Yoshida |
c4f691 |
ref: '70f7686db792fa4953dc60f28a322bf2cd388ed7'
|
|
Tact Yoshida |
c4f691 |
path: 'libmypaint'
|
|
Tact Yoshida |
c4f691 |
|
|
Tact Yoshida |
c4f691 |
- name: Checkout xiaoyeli/superlu
|
|
Tact Yoshida |
c4f691 |
uses: actions/checkout@v2
|
|
Tact Yoshida |
c4f691 |
with:
|
|
Tact Yoshida |
c4f691 |
repository: 'xiaoyeli/superlu'
|
|
Tact Yoshida |
c4f691 |
ref: 'a3d5233770f0caad4bc4578b46d3b26af99e9c19'
|
|
Tact Yoshida |
c4f691 |
path: 'superlu'
|
|
Tact Yoshida |
c4f691 |
|
|
Tact Yoshida |
c4f691 |
- name: Install vcpkg
|
|
Tact Yoshida |
c4f691 |
run: |
|
|
Tact Yoshida |
c4f691 |
rm -r -fo C:/vcpkg
|
|
Tact Yoshida |
c4f691 |
cd C:/
|
|
Tact Yoshida |
c4f691 |
git clone https://github.com/Microsoft/vcpkg
|
|
Tact Yoshida |
c4f691 |
cd vcpkg
|
|
Tact Yoshida |
c4f691 |
git checkout "$env:vcpkg_ref"
|
|
Tact Yoshida |
c4f691 |
./bootstrap-vcpkg.bat
|
|
Tact Yoshida |
c4f691 |
|
|
Tact Yoshida |
c4f691 |
- uses: actions/cache@v1
|
|
Tact Yoshida |
c4f691 |
with:
|
|
Tact Yoshida |
c4f691 |
path: C:/vcpkg/installed
|
|
Tact Yoshida |
c4f691 |
key: ${{ runner.os }}-vcpkg-${{ env.vcpkg_ref }}-${{ github.sha }}
|
|
Tact Yoshida |
c4f691 |
restore-keys: ${{ runner.os }}-vcpkg-${{ env.vcpkg_ref }}-
|
|
Tact Yoshida |
c4f691 |
|
|
Tact Yoshida |
c4f691 |
- name: Install libraries
|
|
Tact Yoshida |
c4f691 |
run: |
|
|
Tact Yoshida |
c4f691 |
vcpkg install --clean-after-build --triplet x64-windows icu
|
|
Tact Yoshida |
c4f691 |
vcpkg install --clean-after-build --triplet x64-windows-static json-c libjpeg-turbo libpng lz4 lzo openblas zlib
|
|
Tact Yoshida |
c4f691 |
vcpkg install --clean-after-build --triplet x64-windows freeglut glew
|
|
Tact Yoshida |
c4f691 |
vcpkg install --clean-after-build --triplet x64-windows qt5-base qt5-multimedia qt5-script qt5-svg qt5-tools
|
|
Tact Yoshida |
c4f691 |
|
|
Tact Yoshida |
aadc03 |
- name: Install clcache
|
|
Tact Yoshida |
aadc03 |
run: |
|
|
Tact Yoshida |
aadc03 |
pip install clcache
|
|
Tact Yoshida |
aadc03 |
Rename-Item -Path 'C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Tools/MSVC/14.24.28314/bin/Hostx64/x64/cl.exe' -NewName 'cl_original.exe'
|
|
Tact Yoshida |
aadc03 |
Rename-Item -Path 'C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Tools/MSVC/14.24.28314/bin/Hostx64/x64/cl.exe.config' -NewName 'cl_original.exe.config'
|
|
Tact Yoshida |
aadc03 |
cp 'C:/hostedtoolcache/windows/Python/3.6.8/x64/Scripts/clcache.exe' 'C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Tools/MSVC/14.24.28314/bin/Hostx64/x64/cl.exe'
|
|
Tact Yoshida |
aadc03 |
|
|
Tact Yoshida |
aadc03 |
- uses: actions/cache@v1
|
|
Tact Yoshida |
aadc03 |
with:
|
|
Tact Yoshida |
aadc03 |
path: C:/Users/runneradmin/clcache
|
|
Tact Yoshida |
aadc03 |
key: ${{ runner.os }}-clcache-${{ github.sha }}
|
|
Tact Yoshida |
aadc03 |
restore-keys: ${{ runner.os }}-clcache-
|
|
Tact Yoshida |
aadc03 |
|
|
Tact Yoshida |
c4f691 |
- name: Build libtiff
|
|
Tact Yoshida |
c4f691 |
run: |
|
|
Tact Yoshida |
c4f691 |
cd thirdparty/tiff-4.0.3
|
|
Tact Yoshida |
c4f691 |
cp libtiff/tif_config.vc.h libtiff/tif_config.h
|
|
Tact Yoshida |
c4f691 |
cp libtiff/tiffconf.vc.h libtiff/tiffconf.h
|
|
Tact Yoshida |
c4f691 |
cd prj/LibTIFF
|
|
Tact Yoshida |
c4f691 |
$env:Path += ';C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/MSBuild/Current/Bin'
|
|
Tact Yoshida |
aadc03 |
$env:CLCACHE_CL = '${{ env.CLCACHE_CL }}'
|
|
Tact Yoshida |
c4f691 |
msbuild LibTIFF.vcxproj /p:PlatformToolset=v142 /p:Platform=x64 /p:Configuration=Release -maxcpucount:3
|
|
Tact Yoshida |
c4f691 |
|
|
Tact Yoshida |
c4f691 |
- name: Build mypaint/libmypaint
|
|
Tact Yoshida |
c4f691 |
run: |
|
|
Tact Yoshida |
c4f691 |
cd libmypaint
|
|
Tact Yoshida |
c4f691 |
cp ../.github/workflows/CMakeLists.txt .
|
|
Tact Yoshida |
c4f691 |
echo '#define MYPAINT_CONFIG_USE_GLIB 0' > config.h
|
|
Tact Yoshida |
c4f691 |
python generate.py mypaint-brush-settings-gen.h brushsettings-gen.h
|
|
Tact Yoshida |
aadc03 |
mkdir build | Out-Null
|
|
Tact Yoshida |
c4f691 |
cd build
|
|
Tact Yoshida |
aadc03 |
$env:CLCACHE_CL = '${{ env.CLCACHE_CL }}'
|
|
Tact Yoshida |
c4f691 |
cmake ../ -G 'Visual Studio 16 2019' -Ax64 -Djson-c_DIR='C:/vcpkg/installed/x64-windows-static/share/json-c/' -DJSON-C_INCLUDE_DIR='C:/vcpkg/installed/x64-windows-static/include/json-c/'
|
|
Tact Yoshida |
c4f691 |
cmake --build . --config Release
|
|
Tact Yoshida |
c4f691 |
cp C:/vcpkg/installed/x64-windows-static/lib/json-c.lib .
|
|
Tact Yoshida |
c4f691 |
$env:Path += ';C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Tools/MSVC/14.24.28314/bin/Hostx64/x64'
|
|
Tact Yoshida |
c4f691 |
lib /OUT:libmypaint.lib Release/libmypaint.lib json-c.lib
|
|
Tact Yoshida |
c4f691 |
cp libmypaint.lib Release/libmypaint.lib
|
|
Tact Yoshida |
c4f691 |
|
|
Tact Yoshida |
c4f691 |
- name: Build xiaoyeli/superlu
|
|
Tact Yoshida |
c4f691 |
run: |
|
|
Tact Yoshida |
c4f691 |
cd superlu
|
|
Tact Yoshida |
aadc03 |
mkdir build | Out-Null
|
|
Tact Yoshida |
c4f691 |
cd build
|
|
Tact Yoshida |
aadc03 |
$env:CLCACHE_CL = '${{ env.CLCACHE_CL }}'
|
|
Tact Yoshida |
c4f691 |
cmake ../ -G 'Visual Studio 16 2019' -Ax64 -DXSDK_ENABLE_Fortran=OFF -Denable_tests=OFF
|
|
Tact Yoshida |
c4f691 |
cmake --build . --config Release
|
|
Tact Yoshida |
c4f691 |
|
|
Tact Yoshida |
c4f691 |
- name: Workaround
|
|
Tact Yoshida |
c4f691 |
run: |
|
|
Tact Yoshida |
c4f691 |
cd thirdparty
|
|
Tact Yoshida |
c4f691 |
cp C:/vcpkg/installed/x64-windows-static/lib/jpeg.lib LibJPEG/jpeg-9/lib/LibJPEG-9_2015_64.lib
|
|
Tact Yoshida |
c4f691 |
cp C:/vcpkg/installed/x64-windows-static/lib/libpng16.lib libpng-1.6.21/lib/libpng16_2015_64.lib
|
|
Tact Yoshida |
c4f691 |
cp C:/vcpkg/installed/x64-windows-static/lib/lz4.lib Lz4/Lz4_131/lz4_64.lib
|
|
Tact Yoshida |
c4f691 |
cp C:/vcpkg/installed/x64-windows-static/lib/lzo2.lib lzo/2.03/LZO_lib/lzo2_64.lib
|
|
Tact Yoshida |
c4f691 |
cp C:/vcpkg/installed/x64-windows-static/lib/openblas.lib openblas/libopenblas_64.lib
|
|
Tact Yoshida |
c4f691 |
cp C:/vcpkg/installed/x64-windows-static/lib/zlib.lib zlib-1.2.8/lib/zlib-1.2.8_2015_64.lib
|
|
Tact Yoshida |
c4f691 |
cp C:/vcpkg/installed/x64-windows/lib/freeglut.lib glut/3.7.6/lib/glut64.lib
|
|
Tact Yoshida |
c4f691 |
cp C:/vcpkg/installed/x64-windows/lib/glew32.lib glew/glew-1.9.0/lib/glew64.lib
|
|
Tact Yoshida |
c4f691 |
cp D:/a/opentoonz/opentoonz/libmypaint/build/Release/libmypaint.lib libmypaint/dist/64/libmypaint.lib
|
|
Tact Yoshida |
c4f691 |
cp D:/a/opentoonz/opentoonz/superlu/build/SRC/Release/superlu.lib superlu/SuperLU_2015_64.lib
|
|
Tact Yoshida |
c4f691 |
cp D:/a/opentoonz/opentoonz/thirdparty/tiff-4.0.3/prj/LibTIFF/x64/Release/LibTIFF.lib tiff-4.0.3/lib/LibTIFF-4.0.3_2015_64.lib
|
|
Tact Yoshida |
c4f691 |
|
|
Tact Yoshida |
c4f691 |
- name: Copy headers
|
|
Tact Yoshida |
c4f691 |
run: |
|
|
Tact Yoshida |
c4f691 |
cd thirdparty
|
|
Tact Yoshida |
c4f691 |
cp LibJPEG/jpeg-9/jconfig.vc LibJPEG/jpeg-9/jconfig.h
|
|
Tact Yoshida |
c4f691 |
cp libpng-1.6.21/scripts/pnglibconf.h.prebuilt libpng-1.6.21/pnglibconf.h
|
|
Tact Yoshida |
c4f691 |
|
|
Tact Yoshida |
c4f691 |
- name: Build
|
|
Tact Yoshida |
c4f691 |
run: |
|
|
Tact Yoshida |
c4f691 |
cd toonz
|
|
Tact Yoshida |
aadc03 |
mkdir build | Out-Null
|
|
Tact Yoshida |
c4f691 |
cd build
|
|
Tact Yoshida |
aadc03 |
$env:CLCACHE_CL = '${{ env.CLCACHE_CL }}'
|
|
Tact Yoshida |
c4f691 |
cmake ../sources -G 'Visual Studio 16 2019' -Ax64 -DQT_PATH='C:/vcpkg/installed/x64-windows/bin' -DQt5_DIR='C:/vcpkg/installed/x64-windows/share/cmake/Qt5' -DBOOST_ROOT="$env:BOOST_ROOT_1_69_0"
|
|
Tact Yoshida |
c4f691 |
cmake --build . --config Release
|
|
Tact Yoshida |
c4f691 |
|
|
Tact Yoshida |
c4f691 |
- name: Create Artifact
|
|
Tact Yoshida |
c4f691 |
run: |
|
|
Tact Yoshida |
aadc03 |
mkdir artifact | Out-Null
|
|
Tact Yoshida |
c4f691 |
cd artifact
|
|
Tact Yoshida |
08e021 |
cp -Recurse ../stuff portablestuff
|
|
Tact Yoshida |
08e021 |
cp ../toonz/build/Release/* .
|
|
Tact Yoshida |
c4f691 |
cp C:/vcpkg/installed/x64-windows/bin/freeglut.dll .
|
|
Tact Yoshida |
c4f691 |
cp C:/vcpkg/installed/x64-windows/bin/glew32.dll .
|
|
Tact Yoshida |
c4f691 |
cp C:/vcpkg/installed/x64-windows/bin/Qt5Core.dll .
|
|
Tact Yoshida |
c4f691 |
cp C:/vcpkg/installed/x64-windows/bin/Qt5Gui.dll .
|
|
Tact Yoshida |
c4f691 |
cp C:/vcpkg/installed/x64-windows/bin/Qt5Multimedia.dll .
|
|
Tact Yoshida |
c4f691 |
cp C:/vcpkg/installed/x64-windows/bin/Qt5Network.dll .
|
|
Tact Yoshida |
c4f691 |
cp C:/vcpkg/installed/x64-windows/bin/Qt5OpenGL.dll .
|
|
Tact Yoshida |
c4f691 |
cp C:/vcpkg/installed/x64-windows/bin/Qt5PrintSupport.dll .
|
|
Tact Yoshida |
c4f691 |
cp C:/vcpkg/installed/x64-windows/bin/Qt5Script.dll .
|
|
Tact Yoshida |
c4f691 |
cp C:/vcpkg/installed/x64-windows/bin/Qt5Svg.dll .
|
|
Tact Yoshida |
c4f691 |
cp C:/vcpkg/installed/x64-windows/bin/Qt5Widgets.dll .
|
|
Tact Yoshida |
c4f691 |
cp C:/vcpkg/installed/x64-windows/bin/bz2.dll .
|
|
Tact Yoshida |
c4f691 |
cp C:/vcpkg/installed/x64-windows/bin/freetype.dll .
|
|
Tact Yoshida |
c4f691 |
cp C:/vcpkg/installed/x64-windows/bin/harfbuzz.dll .
|
|
Tact Yoshida |
c4f691 |
cp C:/vcpkg/installed/x64-windows/bin/icudt61.dll .
|
|
Tact Yoshida |
c4f691 |
cp C:/vcpkg/installed/x64-windows/bin/icuin61.dll .
|
|
Tact Yoshida |
c4f691 |
cp C:/vcpkg/installed/x64-windows/bin/icuuc61.dll .
|
|
Tact Yoshida |
c4f691 |
cp C:/vcpkg/installed/x64-windows/bin/libpng16.dll .
|
|
Tact Yoshida |
c4f691 |
cp C:/vcpkg/installed/x64-windows/bin/pcre2-16.dll .
|
|
Tact Yoshida |
c4f691 |
cp C:/vcpkg/installed/x64-windows/bin/zlib1.dll .
|
|
Tact Yoshida |
c4f691 |
cp -Recurse C:/vcpkg/installed/x64-windows/plugins/audio .
|
|
Tact Yoshida |
c4f691 |
cp -Recurse C:/vcpkg/installed/x64-windows/plugins/bearer .
|
|
Tact Yoshida |
c4f691 |
cp -Recurse C:/vcpkg/installed/x64-windows/plugins/iconengines .
|
|
Tact Yoshida |
c4f691 |
cp -Recurse C:/vcpkg/installed/x64-windows/plugins/imageformats .
|
|
Tact Yoshida |
c4f691 |
cp -Recurse C:/vcpkg/installed/x64-windows/plugins/mediaservice .
|
|
Tact Yoshida |
c4f691 |
cp -Recurse C:/vcpkg/installed/x64-windows/plugins/platforms .
|
|
Tact Yoshida |
c4f691 |
cp -Recurse C:/vcpkg/installed/x64-windows/plugins/playlistformats .
|
|
Tact Yoshida |
c4f691 |
cp -Recurse C:/vcpkg/installed/x64-windows/plugins/printsupport .
|
|
Tact Yoshida |
c4f691 |
|
|
Tact Yoshida |
c4f691 |
- uses: actions/upload-artifact@v1
|
|
Tact Yoshida |
c4f691 |
with:
|
|
Tact Yoshida |
08e021 |
name: Opentoonz-${{ runner.os }}-${{ github.sha }}
|
|
Tact Yoshida |
c4f691 |
path: artifact
|