-
Notifications
You must be signed in to change notification settings - Fork 14
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
Add VS_ENV.with_env(&) method to enable setting up Visual Studio Envi… #37
base: master
Are you sure you want to change the base?
Conversation
…ronment for windows For building on windows, sets up a Visual Studio x64 Environment, so that developer tools are available
this is crashed on ci: https://github.com/kostya/lexbor/actions/runs/6497657533/job/17648994221 |
With VS_ENV.with_env, no longer need these steps
With the change to the workflow in the latest push, this works. I just tested it. |
need to change the workflow - If you look at this workflow run in my vs_env branch, https://github.com/dsisnero/lexbor/blob/vs_env/.github/workflows/win_vsenv.yml , I remove this action ilammy/msvc-dev-cmd@cec98b9 because it is no longer needed with the |
- name: Enable Windows developer prompt | ||
uses: ilammy/msvc-dev-cmd@cec98b9d092141f74527d0afa6feb2af698cfe89 | ||
|
||
- name: Setup cmake |
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.
why you remove cmake?
My changes do the same thing as msvc-dev-cmd, that is what the crystal code
in VS_ENV does, it is a Crystal equivalent version of the msvc-dev-cmd
action. This enables users that use lexbor not having to open up a
msvc-dev-cmd manually. Otherwise the person who uses your library on
windows has to know to open a msvc-dev-cmd prompt before using Crystal
lexbor and tools like https://github.com/kojix2/chatgpt-cli cannot be
compiled by just doing shards build --release.
Again, my code changes does the exact same thing as the msvc-dev-cmd, only
in Crystal
…On Mon, Oct 16, 2023 at 3:06 PM Kostya M ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In .github/workflows/win.yml
<#37 (comment)>:
> @@ -12,13 +12,6 @@ jobs:
runs-on: windows-2022
steps:
- - name: Enable Windows developer prompt
- uses: ***@***.***
-
- - name: Setup cmake
why you remove cmake?
—
Reply to this email directly, view it on GitHub
<#37 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAABQRLEXS2JSNB2PLXCBHTX7WOUPAVCNFSM6AAAAAA55ZKIL6VHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMYTMOBQHE2TSOBRG4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
but why actions still crash? https://github.com/kostya/lexbor/actions/runs/6512196611/job/17704923602 |
For building on windows, sets up a Visual Studio x64 Environment, so that developer tools are available