Skip to content

LibreCAD 3 CI/CD changes#394

Open
CRiSTiK24 wants to merge 95 commits into
LibreCAD:masterfrom
CRiSTiK24:master
Open

LibreCAD 3 CI/CD changes#394
CRiSTiK24 wants to merge 95 commits into
LibreCAD:masterfrom
CRiSTiK24:master

Conversation

@CRiSTiK24

Copy link
Copy Markdown

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
Comment thread .github/workflows/main.yml Outdated

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

- run: git submodule init

Copy link
Copy Markdown
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

Comment thread .github/workflows/main.yml Outdated

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

- run: git submodule init

Copy link
Copy Markdown
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 No newline at end of file

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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