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

Run CI job in a FreeBSD VM #322

Merged
merged 2 commits into from
Nov 17, 2020
Merged

Run CI job in a FreeBSD VM #322

merged 2 commits into from
Nov 17, 2020

Conversation

ethercrow
Copy link
Contributor

@ethercrow ethercrow commented Nov 12, 2020

@Bodigrim @vdukhovni I've found a Github Action that runs FreeBSD inside a VirtualBox: https://github.com/vmactions/freebsd-vm

@Bodigrim
Copy link
Contributor

Very nice!

Copy link
Member

@sjakobi sjakobi left a comment

Choose a reason for hiding this comment

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

Just a minor suggestion.

.github/workflows/ci.yml Show resolved Hide resolved
Copy link
Member

@sjakobi sjakobi left a comment

Choose a reason for hiding this comment

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

Cheers!

@@ -50,3 +52,22 @@ jobs:
cd bench
cabal bench -O0 --benchmark-options "--quick --min-duration=0 --include-first-iter"

build-freebsd:
runs-on: macos-latest
Copy link
Contributor

Choose a reason for hiding this comment

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

MacOS is the most expensive system to run with 10x minute multiplier. Could we use Ubuntu or Windows instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, I wondered the same, but this action's documentation says that only macOS has the necessary virtualization features.

Copy link
Contributor

Choose a reason for hiding this comment

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

Then we should add a comment indicating this with a link to the documentation.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@Bodigrim Bodigrim merged commit 1031dc3 into haskell:master Nov 17, 2020
@Bodigrim
Copy link
Contributor

@ethercrow thanks!

Bodigrim pushed a commit to Bodigrim/bytestring that referenced this pull request Nov 17, 2020
* Run CI job in a FreeBSD VM

* Explanation why the freebsd job is running on macOS
@Bodigrim Bodigrim added this to the 0.11.1.0 milestone Nov 18, 2020
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.

4 participants