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

CI: Test on macOS 11.0 Big Sur #522

Merged
merged 1 commit into from
Nov 19, 2020
Merged

CI: Test on macOS 11.0 Big Sur #522

merged 1 commit into from
Nov 19, 2020

Conversation

traversaro
Copy link
Member

@traversaro traversaro commented Nov 19, 2020

See actions/runner-images#1814 for more details on the environment.

@traversaro
Copy link
Member Author

CI is successful on the first try, ready for review, tagging a few mac users @lrapetti @CarlottaSartore .

@CarlottaSartore
Copy link

@traversaro I am not anymore a mac user, I switched to Ubuntu :)

@traversaro
Copy link
Member Author

@traversaro I am not anymore a mac user, I switched to Ubuntu :)

Good to know, thanks!

@drdanz
Copy link
Member

drdanz commented Nov 19, 2020

FYI, brew is not happy with the default Xcode on macos-11.0 (11.7)

I had to change it with this command:

sudo xcode-select -s /Applications/Xcode_12.3.app/Contents/Developer

You can check which versions are installed running

ls -n /Applications/ | grep Xcode*

(see also https://gist.github.com/fabianfett/fd811d7921eb856bb100c5c15565077f)

@traversaro
Copy link
Member Author

FYI, brew is not happy with the default Xcode on macos-11.0 (11.7)

I had to change it with this command:

sudo xcode-select -s /Applications/Xcode_12.3.app/Contents/Developer

You can check which versions are installed running

ls -n /Applications/ | grep Xcode*

(see also https://gist.github.com/fabianfett/fd811d7921eb856bb100c5c15565077f)

Why even without that fix, the CI on Big Sur is working fine?

@drdanz
Copy link
Member

drdanz commented Nov 19, 2020

I think that you are either not using brew, or perhaps all the formulas use bottles?

For reference, the output of the ls command is this:

lrwxr-xr-x  1 501  80   26 Nov 15 14:07 Xcode.app -> /Applications/Xcode_12.app
lrwxr-xr-x  1 501  80   28 Nov 15 10:45 Xcode_10.3.0.app -> /Applications/Xcode_10.3.app
drwxr-xr-x  3 501  0    96 Jul 13  2019 Xcode_10.3.app
lrwxr-xr-x  1 501  80   28 Nov 15 10:45 Xcode_10.3_beta.app -> /Applications/Xcode_10.3.app
drwxr-xr-x  3 501  0    96 Nov  6  2019 Xcode_11.2.1.app
lrwxr-xr-x  1 501  80   30 Nov 15 10:58 Xcode_11.2.1_beta.app -> /Applications/Xcode_11.2.1.app
lrwxr-xr-x  1 501  80   30 Nov 15 14:07 Xcode_11.2.app -> /Applications/Xcode_11.2.1.app
drwxr-xr-x  3 501  0    96 Dec 19  2019 Xcode_11.3.1.app
lrwxr-xr-x  1 501  80   30 Nov 15 11:11 Xcode_11.3.1_beta.app -> /Applications/Xcode_11.3.1.app
lrwxr-xr-x  1 501  80   30 Nov 15 14:07 Xcode_11.3.app -> /Applications/Xcode_11.3.1.app
drwxr-xr-x  3 501  0    96 Apr  8  2020 Xcode_11.4.1.app
lrwxr-xr-x  1 501  80   30 Nov 15 11:25 Xcode_11.4.1_beta.app -> /Applications/Xcode_11.4.1.app
lrwxr-xr-x  1 501  80   30 Nov 15 14:07 Xcode_11.4.app -> /Applications/Xcode_11.4.1.app
lrwxr-xr-x  1 501  80   28 Nov 15 11:38 Xcode_11.5.0.app -> /Applications/Xcode_11.5.app
drwxr-xr-x  3 501  0    96 May  3  2020 Xcode_11.5.app
lrwxr-xr-x  1 501  80   28 Nov 15 11:38 Xcode_11.5_beta.app -> /Applications/Xcode_11.5.app
lrwxr-xr-x  1 501  80   28 Nov 15 11:52 Xcode_11.6.0.app -> /Applications/Xcode_11.6.app
drwxr-xr-x  3 501  0    96 Jul  2 06:35 Xcode_11.6.app
lrwxr-xr-x  1 501  80   28 Nov 15 11:52 Xcode_11.6_beta.app -> /Applications/Xcode_11.6.app
lrwxr-xr-x  1 501  80   28 Nov 15 12:05 Xcode_11.7.0.app -> /Applications/Xcode_11.7.app
drwxr-xr-x  3 501  0    96 Aug 12 17:30 Xcode_11.7.app
lrwxr-xr-x  1 501  80   28 Nov 15 12:05 Xcode_11.7_beta.app -> /Applications/Xcode_11.7.app
lrwxr-xr-x  1 501  80   26 Nov 15 12:27 Xcode_12.0.1.app -> /Applications/Xcode_12.app
lrwxr-xr-x  1 501  80   28 Nov 15 12:47 Xcode_12.1.0.app -> /Applications/Xcode_12.1.app
drwxr-xr-x  3 501  0    96 Oct 24 02:23 Xcode_12.1.1.app
drwxr-xr-x  3 501  0    96 Oct  8 08:25 Xcode_12.1.app
lrwxr-xr-x  1 501  80   28 Nov 15 13:31 Xcode_12.2.0.app -> /Applications/Xcode_12.2.app
drwxr-xr-x  3 501  0    96 Oct 24 02:24 Xcode_12.2.app
lrwxr-xr-x  1 501  80   28 Nov 15 13:53 Xcode_12.3.0.app -> /Applications/Xcode_12.3.app
drwxr-xr-x  3 501  0    96 Nov 11 04:00 Xcode_12.3.app
drwxr-xr-x  3 501  0    96 Sep 19 01:58 Xcode_12.app
lrwxr-xr-x  1 501  80   26 Nov 15 12:27 Xcode_12_beta.app -> /Applications/Xcode_12.app

You can probably exploit this also to test different Xcode versions...

@drdanz
Copy link
Member

drdanz commented Nov 19, 2020

The error I had seems to appear when I install YCM which does not have a corresponding bottle...

@traversaro
Copy link
Member Author

perhaps all the formulas use bottles?

I think this is it.

Copy link
Member

@lrapetti lrapetti left a comment

Choose a reason for hiding this comment

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

LGTM

@traversaro traversaro merged commit 8a0220c into master Nov 19, 2020
@traversaro traversaro deleted the traversaro-patch-1 branch November 19, 2020 14:56
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