-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix for azure build * updated actions/upload-artifact@v1/2/3 -> v4 * changed the nuget package artifact names to include the os name in the matrix build * updated actions/download-artifact@v1/2/3 -> v4 * attempt to update the image to address upload-artifacts > v1 * attempt to update the image to address upload-artifacts > v1 * updated paths related to artifact@v4 changes * troubleshoot dotnet_nugets * troubleshoot dotnet_nugets * troubleshoot dotnet_nugets * troubleshoot dotnet_nugets * troubleshoot build_rlclientlib * troubleshoot build_rlclientlib * troubleshoot build_rlclientlib * troubleshoot lint job * troubleshoot lint job * troubleshoot lint job * troubleshoot lint job * troubleshoot lint job * updated python builds to vowpalwabbit/rl-manylinux-2_28-build:latest * troubleshoot python wheel builds * troubleshoot python wheel builds
- Loading branch information
1 parent
e1b77f6
commit 51abe08
Showing
8 changed files
with
139 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,11 +27,11 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
config: | ||
- { os: "windows-latest", runtime_id: "win-x64", vcpkg_target_triplet: "x64-windows-static" } | ||
- { os: "ubuntu-latest", runtime_id: "linux-x64", vcpkg_target_triplet: "x64-linux" } | ||
- { os: "macos-13", runtime_id: "osx-x64", vcpkg_target_triplet: "x64-osx" } | ||
- { os: "windows-latest", os_name: "windows-latest", runtime_id: "win-x64", vcpkg_target_triplet: "x64-windows-static" } | ||
- { os: "ubuntu-latest", os_name: "ubuntu-latest", runtime_id: "linux-x64", vcpkg_target_triplet: "x64-linux" } | ||
- { os: "macos-13", os_name: "macos-latest", runtime_id: "osx-x64", vcpkg_target_triplet: "x64-osx" } | ||
runs-on: ${{matrix.config.os}} | ||
name: build-nuget-dotnet (${{ startsWith(matrix.config.os, 'macos') && 'macos-latest' || matrix.config.os }}, ${{ matrix.config.runtime_id }}, ${{ matrix.config.vcpkg_target_triplet }}) | ||
name: build-nuget-dotnet (${{ matrix.config.os_name }}, ${{ matrix.config.runtime_id }}, ${{ matrix.config.vcpkg_target_triplet }}) | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- run: | | ||
|
@@ -53,7 +53,7 @@ jobs: | |
uses: actions/cache@v3 | ||
with: | ||
path: ${{ env.VCPKG_DEFAULT_BINARY_CACHE }}/* | ||
key: ${{ startsWith(matrix.config.os, 'macos') && 'macos-latest' || matrix.config.os }}-build-${{ matrix.config.vcpkg_target_triplet }}-${{ hashFiles('vcpkg.json') }}-${{ env.VCPKG_COMMIT }} | ||
key: ${{ matrix.config.os_name }}-build-${{ matrix.config.vcpkg_target_triplet }}-${{ hashFiles('vcpkg.json') }}-${{ env.VCPKG_COMMIT }} | ||
|
||
- name: Configure .NET Core | ||
run: > | ||
|
@@ -81,15 +81,15 @@ jobs: | |
run: cmake --build build --config RelWithDebInfo -t rl.net | ||
|
||
- if: ${{ startsWith(matrix.config.os, 'windows') }} | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: artifacts | ||
name: artifacts-${{ matrix.config.os_name }} | ||
path: build/binaries/*.dll | ||
|
||
- if: ${{ startsWith(matrix.config.os, 'windows') }} | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: symbols | ||
name: symbols-${{ matrix.config.os_name }} | ||
path: build/binaries/*.pdb | ||
|
||
- if: ${{ startsWith(matrix.config.os, 'ubuntu') }} | ||
|
@@ -99,15 +99,15 @@ jobs: | |
strip --strip-debug --strip-unneeded build/bindings/cs/rl.net.native/librlnetnative.so | ||
- if: ${{ startsWith(matrix.config.os, 'ubuntu') }} | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: artifacts | ||
name: artifacts-${{ matrix.config.os_name }} | ||
path: build/bindings/cs/rl.net.native/librlnetnative.so | ||
|
||
- if: ${{ startsWith(matrix.config.os, 'ubuntu') }} | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: symbols | ||
name: symbols-${{ matrix.config.os_name }} | ||
path: symbols/librlnetnative.debug | ||
|
||
- if: ${{ startsWith(matrix.config.os, 'macos') }} | ||
|
@@ -117,15 +117,15 @@ jobs: | |
strip -S build/bindings/cs/rl.net.native/librlnetnative.dylib | ||
- if: ${{ startsWith(matrix.config.os, 'macos') }} | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: artifacts | ||
name: artifacts-${{ matrix.config.os_name }} | ||
path: build/bindings/cs/rl.net.native/librlnetnative.dylib | ||
|
||
- if: ${{ startsWith(matrix.config.os, 'macos') }} | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: symbols | ||
name: symbols-${{ matrix.config.os_name }} | ||
path: symbols/librlnetnative.dSYM | ||
|
||
package-nuget: | ||
|
@@ -144,13 +144,15 @@ jobs: | |
echo "Generated version number: $version" | ||
echo "RL_NUGET_VERSION=$GENERATED_VERSION" >> $GITHUB_ENV | ||
- uses: actions/download-artifact@v3 | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: artifacts | ||
path: artifacts | ||
merge-multiple: true | ||
- name: Display structure of artifacts | ||
run: ls -R artifacts | ||
- uses: NuGet/[email protected] | ||
- run: nuget pack nuget/dotnet/rl.net.nuspec -Properties RL_NUGET_PACKAGE_VERSION=$RL_NUGET_VERSION -BasePath artifacts -OutputDirectory nuget_output | ||
- uses: actions/upload-artifact@v1 | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: dist | ||
path: nuget_output/ | ||
|
@@ -161,11 +163,11 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
config: | ||
- { os: "windows-latest", runtime_id: "win-x64" } | ||
- { os: "ubuntu-latest", runtime_id: "linux-x64" } | ||
- { os: "macos-13", runtime_id: "osx-x64" } | ||
- { os: "windows-latest", os_name: "windows-latest", runtime_id: "win-x64" } | ||
- { os: "ubuntu-latest", os_name: "ubuntu-latest", runtime_id: "linux-x64" } | ||
- { os: "macos-13", os_name: "macos-latest", runtime_id: "osx-x64" } | ||
runs-on: ${{matrix.config.os}} | ||
name: test-nuget (${{ startsWith(matrix.config.os, 'macos') && 'macos-latest' || matrix.config.os }}, ${{ matrix.config.runtime_id }}) | ||
name: test-nuget (${{ matrix.config.os_name }}, ${{ matrix.config.runtime_id }}) | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Update git tags | ||
|
@@ -178,7 +180,7 @@ jobs: | |
GENERATED_VERSION=$(./.scripts/version_number.py) | ||
echo "Generated version number: $version" | ||
echo "RL_NUGET_VERSION=$GENERATED_VERSION" >> $GITHUB_ENV | ||
- uses: actions/download-artifact@v3 | ||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: dist | ||
path: dist | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters