-
-
Notifications
You must be signed in to change notification settings - Fork 102
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
base: master
Are you sure you want to change the base?
Conversation
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
…isual Studio's GUI
…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
…stall of path.lua
Updated it and added all the build instructions, should be ready for testing
LS on linux + changed issue on windows
…ike ~/hfgghdfg). I changed it to absolute
…anging the artifact capture expression instead
…I'm commenting it for 20.04
…from core18 to core20
.github/workflows/main.yml
Outdated
|
||
- run: cd ${{ github.workspace }} | ||
|
||
- run: git submodule init |
There was a problem hiding this comment.
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
.github/workflows/main.yml
Outdated
|
||
- run: cd ${{ github.workspace }} | ||
|
||
- run: git submodule init |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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" |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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
…used the submodule option in checkout action instead of using it manually
This commits should remove all unnecesary files. I'll try to solve an issue on windows before considering the PR totally functional. |
So the issue is not from the packaging. Then this should be good to commit! |
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.