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

Build mingw build on Github actions #639

Merged

Conversation

adfoster-r7
Copy link
Contributor

@adfoster-r7 adfoster-r7 commented Apr 27, 2023

Adds mingw build on Github Actions

image

I don't believe mingw builds are currently verified as part of the CI process - let me know if I'm wrong here.

- name: Compile
run: |
cd c/meterpreter
script --return --command 'make docker'
Copy link
Contributor Author

@adfoster-r7 adfoster-r7 Apr 27, 2023

Choose a reason for hiding this comment

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

The docker command which eventually gets called runs with -it:

docker:
@docker run -u $(ID):$(ID) -it -v ${PWD}:/meterpreter -w /meterpreter --rm $(DOCKER_CONTAINER) make

which requires a pty, so we have to wrap it in script

@adfoster-r7 adfoster-r7 force-pushed the build-mingw-build-on-github-actions branch from 5c4e359 to 5e769a9 Compare April 27, 2023 10:48
@adfoster-r7
Copy link
Contributor Author

@msjenkins-r7 retest this please

@adfoster-r7 adfoster-r7 merged commit 8e9f2c0 into rapid7:master Apr 27, 2023
@adfoster-r7 adfoster-r7 mentioned this pull request Apr 27, 2023
zeroSteiner added a commit to zeroSteiner/metasploit-framework that referenced this pull request Apr 27, 2023
zeroSteiner added a commit to zeroSteiner/metasploit-framework that referenced this pull request Apr 27, 2023
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.

3 participants