Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LibreCAD 3 CI/CD changes #394

Open
wants to merge 95 commits into
base: master
Choose a base branch
from
Open

LibreCAD 3 CI/CD changes #394

wants to merge 95 commits into from

Conversation

CRiSTiK24
Copy link

Following my GSoC project this year as described here ( https://dokuwiki.librecad.org/doku.php/gsoc:gsoc2022 ) I'm pushing this changes that should create a new action in Github Actions that can be launched manually by the developers. It will build the current version of LibreCAD and upload the binaries for Windows in form of an EXE, and for Linux in form of an AppImage and a Snap. The exe should be portable though I have not tested if it is.

CRiSTiK24 and others added 30 commits June 6, 2022 15:50
trying out to see if I can set both action runners in the same place
there are many things preinstalled, so not all steps of manual installation is needed
…in instead of typebuild/bin. Path.lua doasn't work, and something is getting files from build folder instead of the install one, though no idea what it is
… broke the linux one. Now both should be ok
Updated it and added all the build instructions, should be ready for testing
LS on linux + changed issue on windows

- run: cd ${{ github.workspace }}

- run: git submodule init
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@CRiSTiK24 you can check the submodule option of the checkout action


- run: cd ${{ github.workspace }}

- run: git submodule init
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same remark here

@@ -0,0 +1 @@
choco install git
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file is not used

@@ -0,0 +1,2 @@
choco install python
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file is not used

@@ -0,0 +1,3 @@
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file is not used

@@ -0,0 +1,2 @@
git clone --recursive https://github.com/LibreCAD/LibreCAD_3.git
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file is not used

@@ -0,0 +1,12 @@
curl -O https://d13lb3tujbc8s0.cloudfront.net/onlineinstallers/qt-unified-windows-x86-4.3.0-1-online.exe
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file is not used

@CRiSTiK24
Copy link
Author

This commits should remove all unnecesary files. I'll try to solve an issue on windows before considering the PR totally functional.

@CRiSTiK24
Copy link
Author

So the issue is not from the packaging. Then this should be good to commit!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants