Skip to content

freetype

freetype #97

Workflow file for this run

name: Librecad3 Builders
'on':
workflow_dispatch: null
push:
branches:
- main
- ci_dev
jobs:
linux:
name: Building LibreCAD3 on ubuntu runner
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: 'recursive'
- run: ${{ github.workspace }}/scripts/ubuntu-install/installDependenciesAndBuildRepo.sh
- run: cd ${{ github.workspace }}
- run: sudo ${{ github.workspace }}/scripts/ubuntu-install/createAppImage.sh
#- run: cd ${{ github.workspace }}
#- run: ${{ github.workspace }}/scripts/ubuntu-install/createSnap.sh
- name: Uploading AppImage
uses: actions/upload-artifact@v3
with:
path: ${{ github.workspace }}/build/LibreCAD**AppImage
name: LibreCAD3.AppImage
retention-days: 2
#- name: Uploading snap
# uses: actions/upload-artifact@v3
# with:
# path: ${{ github.workspace }}/librecad**snap
# name: LibreCAD3.snap
# retention-days: 2
windows:
name: Building LibreCAD3 on windows runner
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: 'recursive'
- name: Install Visual Studio 2019 with tools
run: ${{ github.workspace }}/scripts/windows-install/installVisualStudio.bat
- run: cd ${{ github.workspace }}
- run: ${{ github.workspace }}/scripts/windows-install/installConan.bat
- run: ${{ github.workspace }}/scripts/windows-install/createConanDirAndInstallDependencies.bat
- run: cd ${{ github.workspace }}/..
- name: Install Qt5
uses: jurplel/install-qt-action@v3
with:
version: 5.12.2
- name: Install Eigen
shell: bash
run: |
curl -# -L -o eigen.tar.bz2 https://gitlab.com/libeigen/eigen/-/archive/3.4.0/eigen-3.4.0.tar.bz2
tar jxvf eigen.tar.bz2
- name: Install glew
shell: bash
run: |
curl -# -L -o glew.zip https://sourceforge.net/projects/glew/files/glew/2.1.0/glew-2.1.0-win32.zip
unzip glew.zip
mkdir -p include/
cp -a glew-*/include/* include/
rm glew.zip
curl -# -L -o glm.tar.gz https://github.com/g-truc/glm/archive/refs/tags/0.9.9.8.tar.gz
tar zxf glm.tar.gz
cp -a glm-*/glm include/
curl -# -L -o dxfrw.tar.gz https://github.com/LibreCAD/libdxfrw/archive/refs/tags/LC2.2.0.tar.gz
tar zxf dxfrw.tar.gz
cp -a libdxfrw-*/src/*.h include/
curl -# -L -o freetype.tar.gz https://sourceforge.net/projects/freetype/files/freetype2/2.13.0/freetype-2.13.0.tar.gz
tar zxf freetype.tar.gz
cp -a freetype-*/include/* include/
- run: setx QTDIR "${{ env.Qt5_DIR }}\5.15.2\msvc2019_64"
- run: setx QT_QPA_PLATFORM_PLUGIN_PATH "${{ env.Qt5_DIR }}\plugins\platforms\"
- run: ${{ github.workspace }}/scripts/windows-install/addPathVariables.ps1
- run: cd ${{ github.workspace }}
- run: ${{ github.workspace }}/scripts/windows-install/buildLibrecadAndCreatePackage.bat
- name: Uploading exe
uses: actions/[email protected]
with:
path: '${{ github.workspace }}/out/build/windows-default/LibreCAD3**.exe'
name: LibreCAD3.exe