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

Some of the GitHub CI builds are failing #334

Closed
claremacrae opened this issue Feb 7, 2020 · 1 comment
Closed

Some of the GitHub CI builds are failing #334

claremacrae opened this issue Feb 7, 2020 · 1 comment

Comments

@claremacrae
Copy link
Contributor

Description

Some of the GitHub CI builds are failing

Steps to reproduce

View the GitHub Actions logs:

https://github.com/onqtam/doctest/actions

Extra information

I'm intending to see if I can fix this, as I would like to crib some of the GitHub workflow configuration in this project, and would like it to be passing before I do that! 😄

@claremacrae
Copy link
Contributor Author

For the Windows failing builds, the error message is:

At D:\a\_temp\384af4b7-bfae-4079-891c-d5392beae9ba.ps1:5 char:10
+ cd build && ctest
+          ~~
The token '&&' is not a valid statement separator in this version.
+ CategoryInfo          : ParserError: (:) [], ParseException
+ FullyQualifiedErrorId : InvalidEndOfLine
 
##[error]Process completed with exit code 1.

I'll try fixing this by splitting the line in to two.

claremacrae added a commit to claremacrae/doctest that referenced this issue Feb 7, 2020
The output was:

At D:\a\_temp\384af4b7-bfae-4079-891c-d5392beae9ba.ps1:5 char:10
+ cd build && ctest
+          ~~
The token '&&' is not a valid statement separator in this version.
+ CategoryInfo          : ParserError: (:) [], ParseException
+ FullyQualifiedErrorId : InvalidEndOfLine

I've split all 'cd build && ctest' lines, to avoid making future
edits error-prone
claremacrae added a commit to claremacrae/doctest that referenced this issue Feb 7, 2020
The output was:

AIn file included from ../examples/all_features/main.cpp:2:
 In file included from ../scripts/development_only\doctest/doctest.h:5:
 ../doctest/parts\doctest.cpp:142:10: error: non-portable path to file '<Windows.h>'; specified path differs in case from file name on disk [-Werror,-Wnonportable-system-include-path]
 #include <windows.h>
          ^~~~~~~~~~~
          <Windows.h>
 1 error generated.
 ninja: build stopped: subcommand failed.
claremacrae added a commit to claremacrae/doctest that referenced this issue Feb 7, 2020
Example output:
xcode-select: error: invalid developer directory '/Applications/Xcode_10.2.1.app'
claremacrae added a commit to claremacrae/doctest that referenced this issue Feb 7, 2020
The output includes:

The macOS virtual environment has been updated to Catalina (v10.15). Starting January 15th,
jobs that include the line 'runs-on: macOS-10.14' will fail to run and return a failed check suite.
Please update your workflow and change the line 'runs-on: macOS-10.14' to 'runs-on: macOS-latest'.
claremacrae added a commit to claremacrae/doctest that referenced this issue Feb 7, 2020
claremacrae added a commit to claremacrae/doctest that referenced this issue Feb 7, 2020
The currently-available versions are as follows, so pick the oldest and the newest
of these.

11.0, 11.1, 11.2, 11.2.1, 11.3
claremacrae added a commit to claremacrae/doctest that referenced this issue Feb 7, 2020
11.0 does need to be specified to xcode-select as 11
claremacrae added a commit to claremacrae/doctest that referenced this issue Feb 7, 2020
The output was:

At D:\a\_temp\384af4b7-bfae-4079-891c-d5392beae9ba.ps1:5 char:10
+ cd build && ctest
+          ~~
The token '&&' is not a valid statement separator in this version.
+ CategoryInfo          : ParserError: (:) [], ParseException
+ FullyQualifiedErrorId : InvalidEndOfLine

I've split all 'cd build && ctest' lines, to avoid making future
edits error-prone
claremacrae added a commit to claremacrae/doctest that referenced this issue Feb 7, 2020
The output was:

AIn file included from ../examples/all_features/main.cpp:2:
 In file included from ../scripts/development_only\doctest/doctest.h:5:
 ../doctest/parts\doctest.cpp:142:10: error: non-portable path to file '<Windows.h>'; specified path differs in case from file name on disk [-Werror,-Wnonportable-system-include-path]
 #include <windows.h>
          ^~~~~~~~~~~
          <Windows.h>
 1 error generated.
 ninja: build stopped: subcommand failed.
claremacrae added a commit to claremacrae/doctest that referenced this issue Feb 7, 2020
Example output:
xcode-select: error: invalid developer directory '/Applications/Xcode_10.2.1.app'
claremacrae added a commit to claremacrae/doctest that referenced this issue Feb 7, 2020
The output includes:

The macOS virtual environment has been updated to Catalina (v10.15). Starting January 15th,
jobs that include the line 'runs-on: macOS-10.14' will fail to run and return a failed check suite.
Please update your workflow and change the line 'runs-on: macOS-10.14' to 'runs-on: macOS-latest'.
claremacrae added a commit to claremacrae/doctest that referenced this issue Feb 7, 2020
claremacrae added a commit to claremacrae/doctest that referenced this issue Feb 7, 2020
The currently-available versions are as follows, so pick the oldest and the newest
of these.

11.0, 11.1, 11.2, 11.2.1, 11.3
claremacrae added a commit to claremacrae/doctest that referenced this issue Feb 7, 2020
11.0 does need to be specified to xcode-select as 11
@onqtam onqtam closed this as completed in 8df12f2 Feb 24, 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 a pull request may close this issue.

1 participant