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

fix: allow to build miniooni for windows #520

Merged
merged 1 commit into from
Sep 28, 2021
Merged

fix: allow to build miniooni for windows #520

merged 1 commit into from
Sep 28, 2021

Conversation

bassosimone
Copy link
Contributor

@bassosimone bassosimone commented Sep 28, 2021

Checklist

Location of the issue tracker: https://github.com/ooni/probe

Description

I need to run test on Windows and I just discovered that:

  1. the errno_unix.go filename does not mean anything because
    unix is not a valid platform, so we need a filename for
    each platform that we care about;

  2. on Windows we need to use WSA prefixed names;

  3. i/e/session_psiphon.go was not building because of the
    migration from netxlite/iox to netxlite.

This diff attempts to fix all three issues.

The reference issue is ooni/probe#1733,
because I was working on such an issue.

I need to run test on Windows and I just discovered that:

1. the `errno_unix.go` filename does not mean anything because
`unix` is not a valid platform, so we need a filename for
each platform that we care about;

2. on Windows we need to use WSA prefixed names;

3. `i/e/session_psiphon.go` was not building because of the
migration from `netxlite/iox` to `netxlite`.

This diff attempts to fix all three issues.

The reference issue is ooni/probe#1733,
because I was working on such an issue.
@bassosimone bassosimone merged commit 9523753 into master Sep 28, 2021
@bassosimone bassosimone deleted the issue/361 branch September 28, 2021 16:27
ainghazal pushed a commit to ainghazal/probe-cli that referenced this pull request Mar 8, 2022
I need to run test on Windows and I just discovered that:

1. the `errno_unix.go` filename does not mean anything because
`unix` is not a valid platform, so we need a filename for
each platform that we care about;

2. on Windows we need to use WSA prefixed names;

3. `i/e/session_psiphon.go` was not building because of the
migration from `netxlite/iox` to `netxlite`.

This diff attempts to fix all three issues.

The reference issue is ooni/probe#1733,
because I was working on such an issue.
@Korb
Copy link

Korb commented Mar 21, 2022

You can run OONI Probe CLI on macOS, Debian/Ubuntu Linux, and on Raspberry Pis.

https://ooni.org/support/ooni-probe-cli

Do I understand correctly that at the moment there is no way to schedule OONI Probe to run on Windows 10 x64 without using a VM with automated post-launch testing?

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