diff --git a/.pipelines/build-linux-java.yml b/.pipelines/build-linux-java.yml deleted file mode 100644 index 3f1f4fecdb4..00000000000 --- a/.pipelines/build-linux-java.yml +++ /dev/null @@ -1,31 +0,0 @@ -trigger: - - master - - releases/** - -pr: - - master - - releases/** - -pool: - vmImage: 'ubuntu-latest' - -container: - image: vowpalwabbit/ubuntu2004-build:latest - endpoint: DockerHub - -steps: -- bash: ./.scripts/linux/build-static-java.sh - displayName: Build C++ -- bash: ./.scripts/linux/java.sh - displayName: Build + test Java - env: - # these are credentials used to publish to oss.sonatype.org - # credentials are stored as secrets in the build definition - ossrh_gpg: $(ossrh_gpg) - ossrh_username: $(ossrh_username) - ossrh_password: $(ossrh_password) -- task: PublishBuildArtifacts@1 - inputs: - pathtoPublish: build/java/libvw_jni.so - artifactName: 'vw-static-linux-64' - displayName: 'java artifact linux 64' diff --git a/.pipelines/build-linux.yml b/.pipelines/build-linux.yml deleted file mode 100644 index 060aae67895..00000000000 --- a/.pipelines/build-linux.yml +++ /dev/null @@ -1,44 +0,0 @@ -trigger: - branches: - include: - - master - - releases/** - -pr: - autoCancel: true - branches: - include: - - master - - releases/** - -pool: - vmImage: 'ubuntu-latest' - -container: - image: vowpalwabbit/ubuntu2004-build:latest - endpoint: DockerHub - -strategy: - matrix: - Debug: - BUILD_CONFIGURATION: 'Debug' - Release: - BUILD_CONFIGURATION: 'Release' - maxParallel: 2 - -steps: -- bash: ./.scripts/linux/build.sh $(BUILD_CONFIGURATION) - displayName: 'Build C++' - condition: succeeded() - -- bash: ./.scripts/linux/test.sh - displayName: 'Test C++' - condition: succeeded() - -- bash: ./.scripts/linux/test-flatbuffers.sh - displayName: 'Run Test Flatbuffers C++' - condition: succeeded() - -- bash: ./.scripts/linux/java.sh - displayName: 'Build + Test Java' - condition: succeeded() diff --git a/.pipelines/build-windows-nuget.yml b/.pipelines/build-windows-nuget.yml deleted file mode 100644 index af4a6d70af7..00000000000 --- a/.pipelines/build-windows-nuget.yml +++ /dev/null @@ -1,83 +0,0 @@ -trigger: -- master -- 'releases/**' - -pr: -- '*' - -resources: -- repo: self - -pool: - vmImage: windows-2019 - -variables: - SuppressTag: $[ eq(variables.officialbuild, 'true') ] - VCPKG_ARCHIVE_DIR: $(LOCALAPPDATA)\vcpkg\archives - NUGET_PACKAGES: $(Pipeline.Workspace)\.nuget\packages - VCPKG_BINARY_SOURCES: 'clear;files,C:\Users\VssAdministrator\AppData\Local\vcpkg\archives,readwrite' - -steps: -- task: VisualStudioTestPlatformInstaller@1 - inputs: - packageFeedSelector: 'nugetOrg' # Options: nugetOrg, customFeed, netShare - versionSelector: 'latestStable' # Required when packageFeedSelector == NugetOrg || PackageFeedSelector == CustomFeed# Options: latestPreRelease, latestStable, specificVersion - #testPlatformVersion: # Required when versionSelector == SpecificVersion - #customFeed: # Required when packageFeedSelector == CustomFeed - #username: # Optional - #password: # Optional - #netShare: # Required when packageFeedSelector == NetShare -- task: Cache@2 - inputs: - key: 'v2 | vcpkg | archives' - path: $(VCPKG_ARCHIVE_DIR) - displayName: Cache vcpkg dependencies - continueOnError: true -- task: Cache@2 - inputs: - key: 'nuget | "$(Agent.OS)" | $(Build.SourcesDirectory)\cs\**\packages.config' - restoreKeys: | - nuget | "$(Agent.OS)" - nuget - path: $(NUGET_PACKAGES) - displayName: Cache NuGet packages - continueOnError: true -- script: CALL .scripts/restore.cmd - displayName: 'Restore dependencies' - env: - nugetPath: $(Build.SourcesDirectory)\vowpalwabbit\.nuget\nuget.exe - failOnStderr: true -- script: CALL .scripts/build.cmd - displayName: 'Build vw.sln' - env: - nugetPath: $(Build.SourcesDirectory)\vowpalwabbit\.nuget\nuget.exe - failOnStderr: false -- task: PublishBuildArtifacts@1 - displayName: 'Publish Artifact: target' - inputs: - PathtoPublish: $(Build.SourcesDirectory)\build\binaries - ArtifactName: target - condition: succeededOrFailed() -- script: CALL .scripts/test.cmd - displayName: 'Run tests' - env: - nugetPath: $(Build.SourcesDirectory)\vowpalwabbit\.nuget\nuget.exe - failOnStderr: false -- task: PublishTestResults@2 - displayName: 'Publish Test Results' - inputs: - testResultsFormat: VSTest - testResultsFiles: '**/vowpalwabbit/out/test/Release/x64/*.trx' -- script: CALL .scripts/package.cmd - displayName: 'Package artifacts' - env: - nugetPath: $(Build.SourcesDirectory)\vowpalwabbit\.nuget\nuget.exe - Tag: -$(Build.BuildId)--$(Build.SourceVersion) - SourceInfo: 'Built from commit id: $(Build.SourceVersion)' - failOnStderr: true -- task: PublishBuildArtifacts@1 - displayName: 'Publish Artifact: package' - inputs: - PathtoPublish: $(Build.SourcesDirectory)\vowpalwabbit\out\package - ArtifactName: package - condition: succeededOrFailed()