Skip to content

Commit 59269e8

Browse files
authored
Re-enable packaging (IronLanguages#1041)
* Re-enable packaging * Don't specify Mono version on macos * Update nuspec * Dump msbuild version info * Output msbuild version on make package
1 parent 77db90d commit 59269e8

5 files changed

Lines changed: 16 additions & 16 deletions

File tree

.github/workflows/main.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,22 +31,20 @@ jobs:
3131
uses: actions/setup-dotnet@v1
3232
with:
3333
dotnet-version: '5.0.x'
34-
- name: Set Mono Version
35-
if: matrix.os == 'macos-latest'
36-
run: echo ::add-path::/Library/Frameworks/Mono.framework/Versions/6.4.0/bin
3734
- name: Version Information
3835
run: |
3936
dotnet --info
37+
try { msbuild -version } catch { }
4038
try { mono --version } catch { }
4139
shell: pwsh
4240
- name: Build
4341
run: pwsh make.ps1
44-
# - name: Package
45-
# run: pwsh make.ps1 package
46-
# - uses: actions/upload-artifact@v2
47-
# with:
48-
# name: packages
49-
# path: Package/Release/Packages
42+
- name: Package
43+
run: pwsh make.ps1 package
44+
- uses: actions/upload-artifact@v2
45+
with:
46+
name: packages
47+
path: Package/Release/Packages
5048
- name: Test (net46)
5149
run: ./make.ps1 -frameworks net46 test-all
5250
shell: pwsh

Build/steps.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,9 @@ steps:
9999
testRunTitle: ${{ parameters.os }}
100100
condition: succeededOrFailed()
101101

102-
# - powershell: ./make.ps1 package
103-
# displayName: Package
104-
# condition: succeededOrFailed()
102+
- powershell: ./make.ps1 package
103+
displayName: Package
104+
condition: succeededOrFailed()
105105

106106
- task: CopyFiles@2
107107
displayName: Copy NuGet and Zip Packages

Package/nuget/IronPython.StdLib.nuspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
<authors>IronPython Contributors,Python Contributors</authors>
88
<owners>IronPython Community</owners>
99
<projectUrl>http://ironpython.net</projectUrl>
10-
<licenseUrl>http://docs.python.org/license.html</licenseUrl>
10+
<license type="expression">PSF-2.0</license>
1111
<requireLicenseAcceptance>false</requireLicenseAcceptance>
1212
<description>The Python Standard Library, for use with IronPython.</description>
1313
<summary>The Python Standard Library, for use with IronPython.</summary>
1414
<language>en-US</language>
1515
<tags>ironpython python dynamic dlr standard library</tags>
1616
<dependencies>
17-
<dependency id="IronPython" version="[3.4.0-alpha0,3.5)" />
17+
<dependency id="IronPython" version="[3.4.0-alpha1,3.5)" />
1818
</dependencies>
1919
<contentFiles>
2020
<files include="**\*" buildAction="None" copyToOutput="true" />

Package/nuget/IronPython.nuspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<dependencies>
1818
<group targetFramework="net46">
1919
<dependency id="DynamicLanguageRuntime" version="1.3.0" />
20-
<dependency id="System.Memory" version="4.5.3" />
20+
<dependency id="System.Memory" version="4.5.4" />
2121
</group>
2222
<group targetFramework="netcoreapp2.1">
2323
<dependency id="DynamicLanguageRuntime" version="1.3.0" />
@@ -26,7 +26,7 @@
2626
</group>
2727
<group targetFramework="netstandard2.0">
2828
<dependency id="DynamicLanguageRuntime" version="1.3.0" />
29-
<dependency id="System.Memory" version="4.5.3" />
29+
<dependency id="System.Memory" version="4.5.4" />
3030
<dependency id="System.Text.Encoding.CodePages" version="4.6.0" />
3131
<dependency id="Microsoft.Win32.Registry" version="4.5.0" />
3232
</group>

make.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ function Main([String] $target, [String] $configuration) {
6060
}
6161

6262
if (!$global:isUnix -And ($target -eq "Package")) {
63+
msbuild -version
64+
write-host ""
6365
msbuild Build.proj /m /t:$target /p:Configuration=$configuration /verbosity:minimal /nologo /p:Platform="Any CPU" /bl:build-$target-$configuration.binlog
6466
}
6567
else {

0 commit comments

Comments
 (0)