Граф коммитов

1008 Коммитов

Автор SHA1 Сообщение Дата
Alexander Köplinger ce4d4ce3d0 Move official build to use 1ES PT templates 2024-03-28 12:23:46 +01:00
Alexander Köplinger cc9a6d8c8d Duplicate azure-pipelines.yml to azure-pipelines-public.yml 2024-03-28 12:05:06 +01:00
dotnet-maestro[bot] 40b132c936
Update dependencies from https://github.com/dotnet/arcade build 20240327.2 (#42)
[main] Update dependencies from dotnet/arcade
2024-03-28 11:01:07 +00:00
dotnet-maestro[bot] 56943785fc
Update dependencies from https://github.com/dotnet/arcade build 20240108.6 (#39)
[main] Update dependencies from dotnet/arcade
2024-01-10 13:25:57 +00:00
dotnet-maestro[bot] 062156d943
Update dependencies from https://github.com/dotnet/arcade build 20230901.1 (#34)
[main] Update dependencies from dotnet/arcade
2023-09-05 12:17:49 +00:00
dotnet-maestro[bot] 45869bd06f
Update dependencies from https://github.com/dotnet/arcade build 20230105.3 (#33)
[main] Update dependencies from dotnet/arcade
2023-01-06 20:49:45 +00:00
Alexander Köplinger 056d1ecfb8
Update build images 2022-12-06 16:36:54 +01:00
Alexander Köplinger 2f8d254f77
Update to stable version of Microsoft.NET.Test.Sdk 2022-12-01 17:12:17 +01:00
Mitchell Hwang 4abb3b6c98
Enable CodeQL with TSA (#32)
CodeQL is a static analysis tool that is able to scan source code to help detect security vulnerabilities. In mono/mono.posix, there already exists auto-injection of CodeQL's init and finalize tasks within the official default pipeline.

We enable CodeQL directly on the main pipeline as there are relatively few jobs, and because commits are relatively infrequent, there is no need for a separate pipeline to specify a cadence (periods between commits and therefore pipeline builds can be over a weeklong, so if there is no change, there is no need for a new codeql scan)

This PR does the following:
Enables CodeQL
Enable TSA with CodeQL
2022-11-04 12:28:09 +01:00
dotnet-maestro[bot] b9a574e5aa
Update dependencies from https://github.com/dotnet/arcade build 20221013.2 (#31)
[main] Update dependencies from dotnet/arcade
2022-10-18 19:40:13 +00:00
dotnet-maestro[bot] ff7e93a4b7
Update dependencies from https://github.com/dotnet/arcade build 20221003.1 (#30)
[main] Update dependencies from dotnet/arcade
2022-10-04 11:10:33 +00:00
Alexander Köplinger 3dcd35a4f2
Fix AzDO build badge 2022-09-30 14:19:13 +02:00
Alexander Köplinger 0febdbe945
Switch to Ubuntu 20.04 on CI (#28)
Ubuntu 18.04 is being deprecated.

Also update some version numbers in README.md
2022-09-08 16:02:26 +02:00
Alexander Köplinger 141c345a3c
Switch to macOS-12 pool 2022-09-08 12:05:20 +02:00
Alexander Köplinger 17396fb351
Change to new dnceng pool names (#27) 2022-09-07 13:14:42 +02:00
dotnet-maestro[bot] 8df11022ee
[main] Update dependencies from dotnet/arcade (#26)
[main] Update dependencies from dotnet/arcade


 - Add 6.0 runtime to global.json
2022-08-19 16:29:56 +00:00
Alexander Köplinger e20d0b1437
Update Microsoft.NET.Test.Sdk to later version (#25)
It doesn't reference the vulnerable Newtonsoft.Json that gets flagged by Component Governance.

Also fix the `test` stage dependency so it only runs if `build_artifacts` succeeds.
2022-08-19 13:51:09 +02:00
Alexander Köplinger dd60573e9d
Fix macOS min version and bump CI (#24)
We never actually used the MACOS_MIN_VERSION variable anywhere so it was defaulting to the version of the macOS build host.
The macos-10.15 Azure DevOps image is getting deprecated so bump to macos-12 and fix the build so it still compiles with a min version of 10.15

The configure checks need -Werror=unguarded-availability otherwise they'll erreanously detect presence of symbols
2022-07-15 19:10:11 +00:00
Alexander Köplinger b8b6212c94
Fix NativeConvert.ToDateTime with nanoseconds (#23)
It was dividing nanoseconds by 1000 instead of 1000000 to convert to milliseconds.
2022-07-15 18:43:41 +00:00
Alexander Köplinger 455170e76f
Add build for linux-armv6 RID (#22)
Fixes https://github.com/mono/mono.posix/issues/20
2022-07-15 18:42:57 +00:00
dotnet-maestro[bot] e9d4df70ce
Update dependencies from https://github.com/dotnet/arcade build 20220316.1 (#15)
[main] Update dependencies from dotnet/arcade
2022-03-17 00:01:05 +00:00
dotnet-maestro[bot] b7d6d8e18f
Update dependencies from https://github.com/dotnet/arcade build 20220118.3 (#13)
Microsoft.DotNet.Arcade.Sdk
 From Version 7.0.0-beta.21569.2 -> To Version 7.0.0-beta.22068.3

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
2022-01-21 16:43:39 +01:00
dotnet-maestro[bot] 90eb799922
Update dependencies from https://github.com/dotnet/arcade build 20211119.2 (#11)
[main] Update dependencies from dotnet/arcade
2021-11-23 13:22:25 +00:00
Jon Fortescue 8a0982d3c5 Switch to 1ES R&D pools on main 2021-10-14 08:57:54 +02:00
Marek Habersack 58686c26e7 Add the pre-release tag, to keep CI happy 2021-09-08 16:26:57 +02:00
Marek Habersack d8994caaf2 Remove Windows support completely for now
Since the managed libraries are built on Windows when packaging, the
released nuget would get a Mono.Unix.dll which would attempt to look
up `libc` symbols in `msvcrt`, which would break.  Since we currently
don't support Windows at all, remove support for `msvcrt`

Bump version to 7.1.0
2021-09-07 22:00:27 +02:00
Marek Habersack 74d504ff74 Fix yaml template path 2021-09-07 17:11:59 +02:00
Marek Habersack 127cf9e754 [build] Don't rebuild managed code on packaging time on Windows
Rebuilding the managed code on Windows causes it to want to use
`msvcrt` instead of `c` when resolving `libc` p/invokes, which
will cause the libc calls to fail on Unix.

Download and extract the `Managed` artifact on packaging time, so
that the assemblies built on Unix are properly packaged and not
rebuilt.
2021-09-07 16:44:00 +02:00
Marek Habersack e1269a564a Set version to 7.0.0-final.1 2021-07-19 18:55:11 +02:00
Marek Habersack 2014092e46 Set the version to 7.0.0 final 2021-07-19 17:00:57 +02:00
Marek Habersack 01bdf94f33 [versioning] Change pre-release tag to `gamma`
Due to how version numbers are sorted, the previous commit (producing
`7.0.0-beta.2` would be considered older than `7.0.0-beta1` previously
published). So to cleanly switch to a supported "valid" version ordering
scheme, this commit changes the tag to `gamma` and iteration to `1`
which will produce `7.0.0-gamma.1`, thus making it newer than all the
previous releases.
2021-06-10 14:30:31 +02:00
Marek Habersack 0f39259107 Modify version properties to use a more standard format 2021-06-10 14:28:05 +02:00
Marek Habersack a4ef388d06 Bump release tag to beta1 2021-06-10 10:10:06 +02:00
Marek Habersack 9401d18bb5 Don't use `aux` as directory name in nuget
Context: df88c3c756

`aux` is a reserved device file name on Windows and, thus, cannot be
used as a name of a directory. Rename the directory to `auxiliary`
2021-06-09 22:56:35 +02:00
Alex Rønne Petersen df88c3c756
Set static/shared library package paths based on RID. (#7)
For RIDs that *don't* support shared libraries, we want to put the static
library into `runtimes/<rid>/native/`.

For RIDs that *do* support shared libraries, we want to instead put the
shared library into `runtimes/<rid>/native/` and the static library into
`aux/<rid>/native/`.

Debug symbols, if available, always go into `aux/<rid>/native/`.

The idea is to avoid putting files into `runtimes/<rid>/native/` if they
aren't actually needed by `dotnet publish` for that `<rid>`. This is because
the publish logic isn't smart enough to figure out that it should exclude
e.g. static libraries when publishing for a RID that supports shared
libraries.
2021-06-09 08:13:07 +00:00
Marek Habersack e750af9a62 Bump version 2021-06-02 23:07:43 +02:00
Marek Habersack 7321b07d93 [dotnet] Remove NativeLibraryInitializer
It appears Mono.Unix is not where this code should live but rather in a
dotnet "host", if need be (e.g. in Xamarin.Android MSBuild tasks or in
any other framework that happens to use Mono.Unix)
2021-06-02 23:05:41 +02:00
Marek Habersack 9e9050d337 Use `linux-arm` RID for 32-bit ARM 2021-06-02 19:49:30 +02:00
Marek Habersack 0af180f166 Include Linux ARM runtimes when copying to output directory 2021-06-02 18:31:39 +02:00
Marek Habersack 67455ddf55 Don't load libMono.Unix every time if found in the assembly dir 2021-06-02 17:18:18 +02:00
Marek Habersack c3cb8ef44b [dotnet] Add support for Linux ARM RIDs when locating DSOs 2021-06-02 12:18:15 +02:00
Marek Habersack 4b2daf3347
Merge pull request #6 from mono/dotnet-nativelib
[dotnet] Use `NativeLibrary` to load `libMono.Unix` DSO
2021-06-02 11:55:56 +02:00
Marek Habersack c6116a2603 [dotnet] Use `NativeLibrary` to load `libMono.Unix` DSO
`dotnet` needs this in order to be able to locate the shared library in
the `runtimes` subdirectory of the directory where `Mono.Unix.dll`
lives.  The code is enabled only for `netcoreapp` builds.
2021-06-02 11:37:04 +02:00
Marek Habersack a95f6449d1 Trailing whitespace cleanup 2021-06-02 11:32:41 +02:00
Marek Habersack e77b83a6c5 Bump version number 2021-05-31 17:34:57 +02:00
Marek Habersack 0c94638a79
Add Linux arm64 and arm32 cross builds (#5)
Add support for cross-building ARM64 and ARM32 (hard float) binaries on
Linux.
2021-05-31 15:33:04 +00:00
Marek Habersack 08c48269f9 Bump version 2021-05-28 17:01:40 +02:00
Marek Habersack 80196b9358 [build] Don't use rpath at all
RPATH/RUNPATH would be removed on install time, but since we don't
really install anthing, the rpath entry stays in the binary, which is
not something we rally want.
2021-05-28 17:00:21 +02:00
Marek Habersack bd88d61fac [nuget] macOS uses .dylib not .so 2021-05-27 08:39:17 +02:00
Marek Habersack f9491c0853
[nuget] Fix inclusion of native libraries when referencing Mono.Unix (#4)
Add a `Mono.Unix.targets` file which copies all the native libraries
into the referencing project's output directory, putting each native
library in respective `runtimes/RID` directory where `RID` is the
runtime ID of the native library.

Add a `dllmap` configuration for Mono so that it can find native
libraries in the above directories.
2021-05-27 06:33:54 +00:00