Commit graph

44 commits

Author SHA1 Message Date
Dongbo Wang f2d5ae74ad
Clean up crossgen related build scripts also generate native symbols for R2R images (#16297)
* Clean up crossgen related build scripts

* Fix ci.psm1

* Clean up '-CrossGen' use in a few other files
2021-10-27 11:42:37 -07:00
Travis Plunk 1be0c92486
change order of try-catch-finally and split out arm runs (#16252) 2021-10-15 11:43:18 -07:00
Travis Plunk bd5dc97087
Add Software Bill of Materials to the main packages (#16202) 2021-10-12 15:40:43 -07:00
Dongbo Wang 74e283c4f9
Set locale correctly on Linux CI (#16073) 2021-09-09 13:59:31 -07:00
Robert Holt 528d222441
Enable ARM64 packaging for macOS (#15768) 2021-07-16 21:48:17 +00:00
Travis Plunk 6317e4e39a
Add Microsoft Update opt out to MSI install (#15727) 2021-07-14 15:41:56 -07:00
Anselm Schüler 00ffe12bf4
Remove SupportsShouldProcess from Start-PSBootstrap in build.psm1 (#15491) 2021-06-11 14:02:04 -07:00
Travis Plunk 49288e4289
Make Linux package universal. (#15109)
Co-authored-by: Aditya Patwardhan <adityap@microsoft.com>
2021-04-10 09:53:40 -07:00
Travis Plunk 75dc913aa4
Sign internals of EXE package so that it works correctly when signed (#15132)
Co-authored-by: Robert Holt <rjmholt@gmail.com>
2021-04-09 10:26:47 -07:00
Travis Plunk 7acf70e023
Allow patching of preview releases (#15074) 2021-03-23 11:03:05 -07:00
Travis Plunk b1ad606818
Add exe wrapper for Microsoft Update scenarios (#14737) 2021-02-19 15:39:35 -08:00
Travis Plunk 6c633e7fc2
A separate Windows packaging CI (#14670) 2021-02-08 13:25:14 -08:00
James Truher [MSFT] 073bf28e9b
Do not push nupkg artifacts to myget (#14613) 2021-01-14 21:46:24 -08:00
Travis Plunk 3a2c164ec6
Refactor MSI code to make it easier to add a WiX EXE installer (#13139) 2020-07-10 10:46:00 -07:00
xtqqczze f4382202ae
Use correct casing for cmdlet name and cmdlet parameter name in *.ps1 files (#12584) 2020-05-07 17:00:30 +05:00
Christoph Bergmeister [MVP] a29cffd49d
Pin major Pester version to 4 to prevent breaking changes caused by upcoming release of v5 (#12262) 2020-04-14 11:21:19 +05:00
Steve Lee b7cb335f03
Update copyright notice to latest guidance (#12190) 2020-03-24 11:08:37 -07:00
Travis Plunk 7a8094fd31
Put symbols in separate package (#12169) 2020-03-21 12:36:10 -07:00
Travis Plunk d91af72726
Make sure LTS packages have symlink for pwsh and pwsh-lts (#11843) 2020-02-13 18:46:10 -08:00
xtqqczze 2014ce66c1
Set StrictMode version 3.0 (#11563) 2020-02-03 09:44:10 -08:00
xtqqczze 94a73caa41 Correct case of $IsWindows special variable 2020-01-13 19:27:21 +00:00
xtqqczze 4a9d70fdcd Correct case of $PWD special variable 2020-01-13 19:24:10 +00:00
Reece Dunham 052ee86aa4 Indentation fixes in ci.psm1 (#9947) 2019-06-20 13:03:56 -07:00
Steve Lee 61c7b7f120 Fix daily CodeCoverageAndTest build by explicitly calling Start-PSBootStrap (#9724) 2019-05-24 11:13:40 -07:00
Steve Lee ba94c6cfeb Run Start-PSBootStrap in Code Coverage build to install .NET SDK (#9690) 2019-05-23 11:07:37 -07:00
Travis Plunk 24c800f07c Update version tests to use NextReleaseVersion from metadata.json (#9646) 2019-05-21 12:19:13 -07:00
Aditya Patwardhan 3ffd998c58 Create codecoverage and test packages for non-windows (#9373)
Refactor the `ci.psm1` to publish the code coverage and test packages.
Allow `CodeCoverage` configuration on non-windows.

## PR Context

We plan to run code coverage on Windows, Linux and macOS. These changes are needed to unblock those runs.
2019-04-16 15:13:30 -07:00
Steve Lee b63696572f Fix skipping of tests in RemoteSession.Basic.Tests.ps1 (#9304)
Moved check if able to write to $PSHome as way to skip test to `BeforeAll` which already contained a check if running on Windows.

## PR Context

As part https://github.com/PowerShell/PowerShell/pull/9279, tests were updated to be skipped if the test requires writing to `$PSHome` but is not able to.  However, these tests already had a skip mechanism in place so the additional check caused the test to run when it should have skipped.

Co-authored-by: Travis Plunk <github@ez13.net>
2019-04-05 17:00:41 -07:00
Travis Plunk e10603c4f0
Make sure non-Windows CI fails when a test fails (#9303)
Make sure non-Windows CI fails when a test fails

## PR Context

We discovered that some tests were failing after a PR and the CI was not failing
2019-04-05 15:49:30 -07:00
Aditya Patwardhan 4bd41e836c
Publish windows daily build to MyGet (#9288) 2019-04-03 13:22:51 -07:00
Aditya Patwardhan 10fa1fc1dd
Move artifacts to artifact staging directory before uploading (#9273) 2019-04-02 11:56:48 -07:00
Aditya Patwardhan 34fa5e472d
Fix publishing daily nupkg to MyGet (#9269) 2019-04-01 16:58:43 -07:00
Reece Dunham 12276147e6 Remove code from CI.psm1 to optionally run Feature tests (#9212) 2019-03-27 13:29:15 -07:00
Travis Plunk 058a19028d
Refactor macOS CI so that tests run in parallel (#9056)
Refactor macOS CI so that tests run in parallel 
  - Also:
    - Fix bootstrap issue where curl was failing for a month (so obviously not needed)
    - Change Windows test stages to use PowerShell Core (where we can) to avoid compat issues

## PR Context

This allows running all tests in about the same about of clock time.
2019-03-11 13:00:22 -07:00
Aditya Patwardhan cbd255e461 Code coverage artifacts (#8993)
Move the `TestPackage.zip` under code coverage and remove `tests.zip` as it is not needed anymore.
2019-02-28 14:38:45 -08:00
Travis Plunk dc8aed97dc
Make test file result names unique (#8979)
Make test file result names unique
  - Also, remove dead code that I found during investigation

Fixes #8978

## PR Context

Making the filenames unique, ensures that we can download the results from the artifacts and do our own processing of the results.
2019-02-25 15:18:26 -08:00
Aditya Patwardhan 76e8091513
Publish test and code coverage artifacts for daily builds (#8955) 2019-02-25 13:03:06 -08:00
Dongbo Wang 5d54f1aa38
Make xUnit tests run sequentially to avoid race conditions caused by manipulating 'powershell.config.json' in tests (#8945) 2019-02-22 11:57:10 -08:00
Reece Dunham c14d5dd67f Remove some of the last AppVeyor references (#8867)
This removes some of the last mentions of the AppVeyor name.  Don't change the title, we don't want the word to appear in the CLs
Also problem: the last references are in the changelogs but I don't want to modify them without committee approval.  

## PR Context  

it was removed, #8686
2019-02-19 12:44:00 -08:00
Travis Plunk a7f798575d
Parallelize the windows CI to enable us to run all tests all the time (#8868)
Split Windows CI into the following Jobs

1. Combine Build and xUnit, which published build artifact
1. Elevated CI tests
1. Unelevated CI test
1. Elevated everything else tests
1. Unelevated everything else tests
1. Package build and test
1. Verify xUnit result

## PR Context  

Before this test:

- A CI run would take ~14 minutes
- A Feature run would take ~30 minutes

After this change, it always runs all tests and takes ~20 minutes.
Job `Unelevated everything else tests` is the long poll, taking ~4 minutes longer than the next shortest job.  We should be able to get this back down to ~15 if we split that test job somehow.
2019-02-14 16:33:19 -08:00
Travis Plunk 8cf9e056f2
Remove references to uninitialized variable (#8849)
Remove references to uninitialized variable 
regressed in #8822 	

## PR Context  

Some artifacts never got published because the conditions would never be true
2019-02-08 16:52:20 -08:00
Reece Dunham cb4b818d55 Refactor travis.ps1 into ci.psm1 (#8822)
Refactors `travis.ps1`. Important for maintainers: I removed the webhook and badge stuff as neither exist anymore. I also merged the build and test phase with the bootstrap phase.
2019-02-08 14:37:36 -08:00
Aditya Patwardhan ec12f373ec Fix daily CI builds to publish tar package as artifacts (#8775)
Update the packaging script to always create the tar.gz packages.

## PR Context  

Daily builds for Linux and MacOS do not publish tar.gz package.
2019-02-04 14:53:25 -08:00
Reece Dunham 04a31ff22f Refactor appveyor.psm1 to ci.psm1 (#8733) 2019-01-25 15:30:31 -08:00
Renamed from tools/appveyor.psm1 (Browse further)