27 Commits

Author SHA1 Message Date
Alena Sviridenko
58af3b1acd Merge pull request #13 from actions/AlenaSviridenko-patch-1
Update README and change maintenance state
2021-05-14 11:49:27 +03:00
Alena Sviridenko
f47f580e3e Added a note about maintainance 2021-05-14 11:26:46 +03:00
Maxim Lobanov
4471102773 Merge pull request #10 from actions/add-codeowners
Create CODEOWNERS
2021-01-20 21:37:53 +03:00
Maxim Lobanov
66c6502628 Update CODEOWNERS 2021-01-11 19:47:08 +03:00
Maxim Lobanov
0c5716381e Create CODEOWNERS 2021-01-08 12:29:52 +03:00
MaksimZhukov
0ec3996601 Merge pull request #9 from MaksimZhukov/v-mazhuk/fix-powershell-issue-with-paths
Fix PowerShell issue with relative paths
2020-11-18 14:11:15 +03:00
MaksimZhukov
337fa812d6 Fix PowerShell issue with relative paths 2020-11-17 20:24:15 +03:00
MaksimZhukov
49873c32c9 Merge pull request #8 from MaksimZhukov/v-mazhuk/add-pull-request-event-trigger
Add ability to trigger packages generation on PRs
2020-11-03 15:17:05 +03:00
MaksimZhukov
1657316489 Add ability to trigger packages generation on PRs 2020-11-02 20:13:18 +03:00
Maxim Lobanov
eebd7c9167 Merge pull request #7 from thboop/main
Swap to Environment Files
2020-10-01 19:25:58 +03:00
Thomas Boop
763efaef46 swap to powershell syntax 2020-09-30 11:29:15 -04:00
Thomas Boop
9c7d58688a Swap to Environment Files 2020-09-28 17:28:24 -04:00
MaksimZhukov
904756c624 Merge pull request #6 from nikita-bykov/main
Migrate "actions/boost-versions" CI to GA
2020-09-10 11:18:00 +03:00
Nikita Bykov
d76bf4df3d removed azure-pipelines folder, updated docs, fixed build-boost-packages.yml 2020-09-09 17:13:55 +03:00
Nikita Bykov
88348dec1a fixed toolset names for windows 2020-09-09 15:37:46 +03:00
Nikita Bykov
5a9313cf35 checkout to main branch of helpers 2020-09-09 15:10:24 +03:00
Nikita Bykov
da7976ff2b fixed tests 2020-09-09 13:41:24 +03:00
Nikita Bykov
d23e94cfe3 resolved comments 2020-09-08 17:13:02 +03:00
Nikita Bykov
dc8da2cb3a Test branch (#2) 2020-09-08 11:22:39 +03:00
Nikita Bykov
5d5ff87b28 checkout to helpers 2020-09-08 11:19:30 +03:00
Nikita Bykov
2647e8c5b7 Test branch (#1)
* migrate ci

* updated submodule

* update

* update

Co-authored-by: Nikita Bykov <v-nibyko@microsoft.com>
2020-09-01 12:04:22 +03:00
Maxim Lobanov
c1d3ac8bda Merge pull request #5 from actions/v-mazhuk/update-module
Update Git submodule
2020-07-30 14:23:16 +03:00
MaksimZhukov
e00e825c5b Update Git submodule 2020-07-30 12:51:39 +03:00
Maxim Lobanov
9aacd5a784 Update README.md 2020-07-15 13:26:43 +03:00
Maxim Lobanov
4bab4c5b94 Switch default branch from master to main 2020-07-14 17:00:56 +03:00
MaksimZhukov
df70ccf848 Merge pull request #2 from actions/update-versions-manifest-file
[versions-manifest] Update for release from 06/08/2020
2020-06-08 21:17:07 +03:00
Service account
a9af11866b Update versions-manifest based on build from 20200608.5 2020-06-08 17:25:00 +00:00
17 changed files with 455 additions and 245 deletions

1
.github/CODEOWNERS vendored Normal file
View File

@@ -0,0 +1 @@
* @actions/virtual-environments-owners

View File

@@ -0,0 +1,199 @@
name: Generate Boost package
on:
workflow_dispatch:
inputs:
VERSION:
description: 'Boost version to build and upload'
required: true
default: '1.73.0'
PUBLISH_RELEASES:
description: 'Whether to publish releases'
required: true
default: 'false'
pull_request:
paths-ignore:
- 'versions-manifest.json'
- 'LICENSE'
- '**.md'
branches:
- 'main'
env:
VERSION: ${{ github.event.inputs.VERSION || '1.73.0' }}
defaults:
run:
shell: pwsh
jobs:
build_boost:
name: Build Boost ${{ github.event.inputs.VERSION || '1.73.0' }} [${{ matrix.os }}]
runs-on: ${{ matrix.os }}
env:
ARTIFACT_NAME: boost-${{ github.event.inputs.VERSION || '1.73.0' }}-${{ matrix.platform }}-${{ matrix.toolset }}-${{ matrix.architecture }}
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-16.04
architecture: x64
toolset: gcc
platform: linux-16.04
- os: ubuntu-18.04
architecture: x64
toolset: gcc
platform: linux-18.04
- os: windows-2016
architecture: x86_64
toolset: msvc-14.1
platform: win32
- os: windows-2019
architecture: x86_64
toolset: msvc-14.2
platform: win32
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Build Boost ${{ env.VERSION }}
run: |
./builders/build-boost.ps1 -Version $env:VERSION `
-Platform ${{ matrix.platform }} `
-Architecture ${{ matrix.architecture }} `
-Toolset ${{ matrix.toolset }}
- name: Publish artifact
uses: actions/upload-artifact@v2
with:
name: ${{ env.ARTIFACT_NAME }}
path: ${{ runner.temp }}/artifact
test_boost:
name: Test Boost ${{ github.event.inputs.VERSION || '1.73.0' }} [${{ matrix.os }}]
needs: build_boost
runs-on: ${{ matrix.os }}
env:
PLATFORM: ${{ matrix.platform }}
ARTIFACT_NAME: boost-${{ github.event.inputs.VERSION || '1.73.0' }}-${{ matrix.platform }}-${{ matrix.toolset }}-${{ matrix.architecture }}
strategy:
fail-fast: false
matrix:
include:
- os: ubuntu-16.04
platform: linux-16.04
toolset: gcc
architecture: x64
- os: ubuntu-18.04
platform: linux-18.04
toolset: gcc
architecture: x64
- os: windows-2016
platform: win32
toolset: msvc-14.1
architecture: x86_64
- os: windows-2019
platform: win32
toolset: msvc-14.2
architecture: x86_64
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Fully cleanup the toolcache directory before testing
run: ./helpers/clean-toolcache.ps1 -ToolName "boost"
- name: Download artifact
uses: actions/download-artifact@v2
with:
path: ${{ runner.temp }}
- name: Extract files
run: |
$artifactName = Get-ChildItem -Name
If ("${{ matrix.platform }}" -eq "win32") {
$assetTarPath = $artifactName.TrimEnd(".tar.gz")
7z x $artifactName -o"$assetTarPath" -y | Out-Null
7z x $assetTarPath -y | Out-Null
} else {
tar -xzf $artifactName
}
working-directory: ${{ runner.temp }}/${{ env.ARTIFACT_NAME }}
- name: Apply build artifact to the local machine
run: |
if ('${{ matrix.platform }}' -eq 'win32') { powershell ./setup.ps1 } else { sh ./setup.sh }
working-directory: ${{ runner.temp }}/${{ env.ARTIFACT_NAME }}
- name: Setup BOOST_ROOT ${{ env.VERSION }}
run: |
Import-Module (Join-Path $env:GITHUB_WORKSPACE "helpers" | Join-Path -ChildPath "common-helpers.psm1") -DisableNameChecking
$boostDirectory = GetToolDirectory -ToolName "boost" -Version "${{ env.VERSION }}" -Architecture "${{ matrix.architecture }}"
$LD_LIBRARY = Join-Path -Path $boostDirectory -ChildPath "lib"
Write-Host "BOOST_ROOT = ${boostDirectory}"
echo "BOOST_ROOT=${boostDirectory}" >> $env:GITHUB_ENV
echo "LD_LIBRARY_PATH=${LD_LIBRARY}" >> $env:GITHUB_ENV
- name: Run tests
run: |
Install-Module Pester -Force -Scope CurrentUser
Import-Module Pester
$Platform = If ("${{ matrix.platform }}" -eq "win32") { "Windows" } else { "Nix" }
Invoke-Pester -Script ./Common.Tests.ps1 -EnableExit
Invoke-Pester -Script "./${Platform}.Tests.ps1" -EnableExit
working-directory: ./tests
publish_release:
name: Publish release
if: github.event_name == 'workflow_dispatch' && github.event.inputs.PUBLISH_RELEASES == 'true'
needs: test_boost
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v2
- name: Publish Release ${{ env.VERSION }}
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ env.VERSION }}-${{ github.run_id }}
release_name: ${{ env.VERSION }}
body: |
Boost ${{ env.VERSION }}
- name: Upload release assets
uses: actions/github-script@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const fs = require('fs');
for (let artifactDir of fs.readdirSync('.')) {
let artifactName = fs.readdirSync(`${artifactDir}`)[0];
console.log(`Upload ${artifactName} asset`);
github.repos.uploadReleaseAsset({
owner: context.repo.owner,
repo: context.repo.repo,
release_id: ${{ steps.create_release.outputs.id }},
name: artifactName,
data: fs.readFileSync(`./${artifactDir}/${artifactName}`)
});
}
trigger_pr:
name: Trigger "Create Pull Request" workflow
needs: publish_release
runs-on: ubuntu-latest
steps:
- name: Trigger "Create Pull Request" workflow
uses: actions/github-script@v3
with:
github-token: ${{ secrets.PERSONAL_TOKEN }}
script: |
github.actions.createWorkflowDispatch({
owner: context.repo.owner,
repo: context.repo.repo,
workflow_id: 'create-pr.yml',
ref: 'main'
});

33
.github/workflows/create-pr.yml vendored Normal file
View File

@@ -0,0 +1,33 @@
name: Create Pull Request
on:
workflow_dispatch:
defaults:
run:
shell: pwsh
jobs:
create_pr:
name: Create Pull Request
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Create versions-manifest.json
run: |
./helpers/packages-generation/manifest-generator.ps1 -RepositoryFullName "$env:GITHUB_REPOSITORY" `
-GitHubAccessToken "${{secrets.GITHUB_TOKEN}}" `
-OutputFile "./versions-manifest.json" `
-ConfigurationFile "./config/boost-manifest-config.json"
- name: Create GitHub PR
run: |
$formattedDate = Get-Date -Format "MM/dd/yyyy"
./helpers/github/create-pull-request.ps1 `
-RepositoryFullName "$env:GITHUB_REPOSITORY" `
-AccessToken "${{secrets.GITHUB_TOKEN}}" `
-BranchName "update-versions-manifest-file" `
-CommitMessage "Update versions-manifest" `
-PullRequestTitle "[versions-manifest] Update for release from ${formattedDate}" `
-PullRequestBody "Update versions-manifest.json for release from ${formattedDate}"

2
.gitmodules vendored
View File

@@ -1,4 +1,4 @@
[submodule "helpers"]
path = helpers
url = https://github.com/actions/versions-package-tools
branch = master
branch = main

View File

@@ -29,22 +29,20 @@ Here are a few things you can do that will increase the likelihood of your pull
### Directory structure
```
├── azure-pipelines/
| └──templates/
├── .github/
| └──workflows/
├── builders/
├── helpers/
├── installers/
└── tests/
└──sources/
```
- `azure-pipelines*` - contains global YAML definitions for build pipelines. Reusable templates for specific jobs are located in `templates` subfolder.
- `.github/workflows` - contains repository workflow files.
- `builders` - contains Boost builder classes and functions.
- `helpers` - contains global helper functions and functions.
- `helpers` - contains global helper classes and functions.
- `installers` - contains installation script templates.
- `tests` - contains test scripts. Required tests sources are located in `sources` subfolder.
\* _We use Azure Pipelines because there are a few features that Actions is still missing, we'll move to Actions as soon as possible_.
## Resources
- [How to Contribute to Open Source](https://opensource.guide/how-to-contribute/)

View File

@@ -1,13 +1,13 @@
# Boost for Actions
**Please note: This repository is deprecated and should no longer be used. The team at GitHub has ceased maintaining it or making and accepting code contributions.**
This repository contains the code and scripts that we use to prepare Boost packages used in [virtual-environments](https://github.com/actions/virtual-environments).
The file [versions-manifest.json](./versions-manifest.json) contains the list of available and released versions.
> Caution: this is prepared for and only permitted for use by actions `virtual-environments`.
**Status**: Currently under development and in use for beta and preview actions. This repo is undergoing rapid changes.
## Adding new versions
We are trying to prepare packages for new versions of Boost as soon as they are released. Please open an issue if any versions are missing.
**Status**: Unmaintaned.
## Contribution
Contributions are welcome! See [Contributor's Guide](./CONTRIBUTING.md) for more details about contribution process and code structure

View File

@@ -1,95 +0,0 @@
name: $(date:yyyyMMdd)$(rev:.r)-Boost-$(VERSION)
trigger: none
pr:
autoCancel: true
branches:
include:
- master
paths:
exclude:
- versions-manifest.json
stages:
- stage: Build_Boost_Ubuntu_1604
dependsOn: []
variables:
VmImage: ubuntu-16.04
Platform: linux-16.04
Architecture: x64
Toolset: gcc
jobs:
- template: /azure-pipelines/templates/build-job.yml
- stage: Test_Boost_Ubuntu_1604
condition: succeeded()
dependsOn: Build_Boost_Ubuntu_1604
variables:
VmImage: ubuntu-16.04
Platform: linux-16.04
Architecture: x64
Toolset: gcc
jobs:
- template: /azure-pipelines/templates/test-job.yml
- stage: Build_Boost_Ubuntu_1804
dependsOn: []
variables:
VmImage: 'ubuntu-18.04'
Platform: linux-18.04
Architecture: x64
Toolset: gcc
jobs:
- template: /azure-pipelines/templates/build-job.yml
- stage: Test_Boost_Ubuntu_1804
condition: succeeded()
dependsOn: Build_Boost_Ubuntu_1804
variables:
VmImage: 'ubuntu-18.04'
Platform: linux-18.04
Architecture: x64
Toolset: gcc
jobs:
- template: /azure-pipelines/templates/test-job.yml
- stage: Build_Boost_msvc141
dependsOn: []
variables:
VmImage: 'vs2017-win2016'
Platform: win32
Architecture: x86_64
Toolset: msvc-14.1
jobs:
- template: /azure-pipelines/templates/build-job.yml
- stage: Test_Boost_msvc141
condition: succeeded()
dependsOn: Build_Boost_msvc141
variables:
VmImage: 'vs2017-win2016'
Platform: win32
Architecture: x86_64
Toolset: msvc-14.1
jobs:
- template: /azure-pipelines/templates/test-job.yml
- stage: Build_Boost_msvc142
dependsOn: []
variables:
VmImage: 'windows-2019'
Platform: win32
Architecture: x86_64
Toolset: msvc-14.2
jobs:
- template: /azure-pipelines/templates/build-job.yml
- stage: Test_Boost_msvc142
condition: succeeded()
dependsOn: Build_Boost_msvc142
variables:
VmImage: 'windows-2019'
Platform: win32
Architecture: x86_64
Toolset: msvc-14.2
jobs:
- template: /azure-pipelines/templates/test-job.yml

View File

@@ -1,20 +0,0 @@
jobs:
- job: Build_Boost
timeoutInMinutes: 300
pool:
name: Azure Pipelines
vmImage: $(VmImage)
steps:
- checkout: self
- task: PowerShell@2
displayName: 'Build Boost $(Version)'
inputs:
targetType: filePath
filePath: './builders/build-boost.ps1'
arguments: '-Version $(Version) -Platform $(Platform) -Architecture $(Architecture) -Toolset $(Toolset)'
- task: PublishPipelineArtifact@1
displayName: 'Publish Artifact: Boost $(Version)'
inputs:
targetPath: '$(Build.ArtifactStagingDirectory)'
artifactName: 'boost-$(Version)-$(Platform)-$(Toolset)-$(Architecture)'

View File

@@ -1,80 +0,0 @@
jobs:
- job: Test_Boost
pool:
name: Azure Pipelines
vmImage: $(VmImage)
steps:
- checkout: self
submodules: true
- task: PowerShell@2
displayName: Fully cleanup the toolcache directory before testing
inputs:
targetType: filePath
filePath: helpers/clean-toolcache.ps1
arguments: -ToolName "boost"
- task: DownloadPipelineArtifact@2
inputs:
source: 'current'
artifact: 'boost-$(Version)-$(Platform)-$(Toolset)-$(Architecture)'
path: $(Build.ArtifactStagingDirectory)
- task: ExtractFiles@1
inputs:
archiveFilePatterns: '$(Build.ArtifactStagingDirectory)/boost-$(Version)-$(Platform)-*-$(Architecture).*'
destinationFolder: $(Build.BinariesDirectory)
cleanDestinationFolder: false
- task: PowerShell@2
displayName: 'Apply build artifact to the local machines'
inputs:
targetType: inline
script: |
if ("$(Platform)" -match 'win32') { powershell ./setup.ps1 } else { sh ./setup.sh }
workingDirectory: '$(Build.BinariesDirectory)'
- task: PowerShell@2
displayName: 'Set up BOOST_ROOT'
inputs:
TargetType: inline
script: |
$BoostToolcachePath = Join-Path -Path $env:AGENT_TOOLSDIRECTORY -ChildPath "boost"
$BoostToolcacheVersionPath = Join-Path -Path $BoostToolcachePath -ChildPath "$(Version)"
$boostDirectory = Join-Path $BoostToolcacheVersionPath "$(Architecture)"
$LD_LIBRARY = Join-Path -Path $boostDirectory -ChildPath "lib"
Write-Host "BOOST_ROOT = ${boostDirectory}"
Write-Host "##vso[task.setvariable variable=BOOST_ROOT]${boostDirectory}"
Write-Host "##vso[task.setvariable variable=LD_LIBRARY_PATH]${LD_LIBRARY}"
- task: PowerShell@2
displayName: 'Run tests'
inputs:
TargetType: inline
script: |
Install-Module Pester -Force -Scope CurrentUser -RequiredVersion 4.10.1
Import-Module Pester
$Platform = If ("$(Platform)" -eq "win32") { "Windows" } else { "Nix" }
$pesterParams = @(
@{
Path="./Common.Tests.ps1";
},
@{
Path="./${Platform}.Tests.ps1";
Parameters=@{
Version="$(Version)";
Platform="$(Platform)"
}
}
)
Invoke-Pester -Script $pesterParams -OutputFile "$(Build.SourcesDirectory)/tests/test_results.xml" -OutputFormat NUnitXml
workingDirectory: '$(Build.SourcesDirectory)/tests'
- task: PublishTestResults@2
displayName: 'Publish test results'
inputs:
testResultsFiles: '*.xml'
testResultsFormat: NUnit
searchFolder: 'tests'
failTaskOnFailedTests: true
testRunTitle: "Boost $(Version)-$(Platform)-$(Toolset)"
condition: always()

View File

@@ -16,10 +16,13 @@ class BoostBuilder {
The architecture with which Boost should be built.
.PARAMETER TempFolderLocation
The location of temporary files that will be used during Boost package generation. Using system BUILD_STAGINGDIRECTORY variable value.
The location of temporary files that will be used during Boost package generation.
.PARAMETER ArtifactLocation
The location of generated Boost artifact. Using system environment BUILD_BINARIESDIRECTORY variable value.
.PARAMETER WorkFolderLocation
The location of installation files.
.PARAMETER ArtifactFolderLocation
The location of generated Boost artifact.
.PARAMETER InstallationTemplatesLocation
The location of installation script template. Using "installers" folder from current repository.
@@ -42,8 +45,8 @@ class BoostBuilder {
$this.Toolset = $toolset
$this.TempFolderLocation = [IO.Path]::GetTempPath()
$this.WorkFolderLocation = $env:BUILD_BINARIESDIRECTORY
$this.ArtifactFolderLocation = $env:BUILD_STAGINGDIRECTORY
$this.WorkFolderLocation = Join-Path $env:RUNNER_TEMP "binaries"
$this.ArtifactFolderLocation = Join-Path $env:RUNNER_TEMP "artifact"
$this.InstallationTemplatesLocation = Join-Path -Path $PSScriptRoot -ChildPath "../installers"
}
@@ -75,6 +78,10 @@ class BoostBuilder {
Generates Boost artifact from downloaded binaries.
#>
Write-Host "Create WorkFolderLocation and ArtifactFolderLocation folders"
New-Item -Path $this.WorkFolderLocation -ItemType "Directory"
New-Item -Path $this.ArtifactFolderLocation -ItemType "Directory"
Write-Host "Download Boost $($this.Version) source code..."
$this.Download()

View File

@@ -1,5 +1,5 @@
using module "./builders/win-boost-builder.psm1"
using module "./builders/nix-boost-builder.psm1"
using module "./win-boost-builder.psm1"
using module "./nix-boost-builder.psm1"
<#
.SYNOPSIS

View File

@@ -1,4 +1,4 @@
using module "./builders/boost-builder.psm1"
using module "./boost-builder.psm1"
class NixBoostBuilder : BoostBuilder {
<#

View File

@@ -1,4 +1,4 @@
using module "./builders/boost-builder.psm1"
using module "./boost-builder.psm1"
class WinBoostBuilder : BoostBuilder {

Submodule helpers updated: d8c3ce72ee...4b0fa42d99

View File

@@ -1,18 +1,15 @@
param (
[Version] $Version,
[String] $Platform
)
Import-Module (Join-Path $PSScriptRoot "../helpers/pester-extensions.psm1")
Set-Location "sources"
$env:Path="$env:Path;${env:BOOST_ROOT}\lib"
BeforeAll {
Set-Location "sources"
$env:Path="$env:Path;${env:BOOST_ROOT}\lib"
if (${env:PLATFORM} -eq "linux-16.04") {
Write-Host "Install dependencies"
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 60 `
--slave /usr/bin/g++ g++ /usr/bin/g++-7
sudo update-alternatives --config gcc
}
if ($Platform -eq "linux-16.04") {
Write-Host "Install dependencies"
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 60 `
--slave /usr/bin/g++ g++ /usr/bin/g++-7
sudo update-alternatives --config gcc
}
Describe "Nix Tests" {
@@ -33,10 +30,10 @@ Describe "Nix Tests" {
"-w", "-DBOOST_LOG_DYN_LINK",
"-I", "${env:BOOST_ROOT}/include",
"-L", "${env:BOOST_ROOT}/lib", "main_log.cpp",
"-l:libboost_log_setup-mt-d-x64.so.${Version}",
"-l:libboost_log-mt-d-x64.so.${Version}",
"-l:libboost_thread-mt-d-x64.so.${Version}",
"-l:libboost_filesystem-mt-d-x64.so.${Version}",
"-l:libboost_log_setup-mt-d-x64.so.${env:VERSION}",
"-l:libboost_log-mt-d-x64.so.${env:VERSION}",
"-l:libboost_thread-mt-d-x64.so.${env:VERSION}",
"-l:libboost_filesystem-mt-d-x64.so.${env:VERSION}",
"-lpthread"
)
@@ -49,10 +46,10 @@ Describe "Nix Tests" {
"-w", "-DBOOST_LOG_DYN_LINK",
"-I", "${env:BOOST_ROOT}/include",
"-L", "${env:BOOST_ROOT}/lib", "main_log.cpp",
"-l:libboost_log_setup-mt-x64.so.${Version}",
"-l:libboost_log-mt-x64.so.${Version}",
"-l:libboost_thread-mt-x64.so.${Version}",
"-l:libboost_filesystem-mt-x64.so.${Version}",
"-l:libboost_log_setup-mt-x64.so.${env:VERSION}",
"-l:libboost_log-mt-x64.so.${env:VERSION}",
"-l:libboost_thread-mt-x64.so.${env:VERSION}",
"-l:libboost_filesystem-mt-x64.so.${env:VERSION}",
"-lpthread"
)

View File

@@ -1,17 +1,14 @@
param (
[Version] $Version,
[String] $Platform
)
Import-Module (Join-Path $PSScriptRoot "../helpers/pester-extensions.psm1")
Import-Module (Join-Path $PSScriptRoot "../helpers/win-vs-env.psm1")
Set-Location -Path "sources"
BeforeAll {
Set-Location -Path "sources"
$env:Path="$env:Path;${env:BOOST_ROOT}\lib"
$env:Path="$env:Path;${env:BOOST_ROOT}\lib"
Write-Host "Initialize VS dev environment"
Invoke-VSDevEnvironment
Write-Host "Initialize VS dev environment"
Invoke-VSDevEnvironment
}
Describe "Windows Tests" {
It "Run simple code" {

173
versions-manifest.json Normal file
View File

@@ -0,0 +1,173 @@
[
{
"version": "1.73.0",
"stable": true,
"release_url": "https://github.com/actions/boost-versions/releases/tag/1.73.0-20200608.5",
"files": [
{
"filename": "boost-1.73.0-linux-16.04-gcc-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"platform_version": "16.04",
"toolset": "gcc",
"download_url": "https://github.com/actions/boost-versions/releases/download/1.73.0-20200608.5/boost-1.73.0-linux-16.04-gcc-x64.tar.gz"
},
{
"filename": "boost-1.73.0-linux-18.04-gcc-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"platform_version": "18.04",
"toolset": "gcc",
"download_url": "https://github.com/actions/boost-versions/releases/download/1.73.0-20200608.5/boost-1.73.0-linux-18.04-gcc-x64.tar.gz"
},
{
"filename": "boost-1.73.0-win32-msvc14.1-x86_64.tar.gz",
"arch": "x86_64",
"platform": "win32",
"toolset": "msvc14.1",
"download_url": "https://github.com/actions/boost-versions/releases/download/1.73.0-20200608.5/boost-1.73.0-win32-msvc14.1-x86_64.tar.gz"
},
{
"filename": "boost-1.73.0-win32-msvc14.2-x86_64.tar.gz",
"arch": "x86_64",
"platform": "win32",
"toolset": "msvc14.2",
"download_url": "https://github.com/actions/boost-versions/releases/download/1.73.0-20200608.5/boost-1.73.0-win32-msvc14.2-x86_64.tar.gz"
}
]
},
{
"version": "1.72.0",
"stable": true,
"release_url": "https://github.com/actions/boost-versions/releases/tag/1.72.0-20200608.4",
"files": [
{
"filename": "boost-1.72.0-linux-16.04-gcc-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"platform_version": "16.04",
"toolset": "gcc",
"download_url": "https://github.com/actions/boost-versions/releases/download/1.72.0-20200608.4/boost-1.72.0-linux-16.04-gcc-x64.tar.gz"
},
{
"filename": "boost-1.72.0-linux-18.04-gcc-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"platform_version": "18.04",
"toolset": "gcc",
"download_url": "https://github.com/actions/boost-versions/releases/download/1.72.0-20200608.4/boost-1.72.0-linux-18.04-gcc-x64.tar.gz"
},
{
"filename": "boost-1.72.0-win32-msvc14.1-x86_64.tar.gz",
"arch": "x86_64",
"platform": "win32",
"toolset": "msvc14.1",
"download_url": "https://github.com/actions/boost-versions/releases/download/1.72.0-20200608.4/boost-1.72.0-win32-msvc14.1-x86_64.tar.gz"
},
{
"filename": "boost-1.72.0-win32-msvc14.2-x86_64.tar.gz",
"arch": "x86_64",
"platform": "win32",
"toolset": "msvc14.2",
"download_url": "https://github.com/actions/boost-versions/releases/download/1.72.0-20200608.4/boost-1.72.0-win32-msvc14.2-x86_64.tar.gz"
}
]
},
{
"version": "1.71.0",
"stable": true,
"release_url": "https://github.com/actions/boost-versions/releases/tag/1.71.0-20200608.3",
"files": [
{
"filename": "boost-1.71.0-linux-16.04-gcc-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"platform_version": "16.04",
"toolset": "gcc",
"download_url": "https://github.com/actions/boost-versions/releases/download/1.71.0-20200608.3/boost-1.71.0-linux-16.04-gcc-x64.tar.gz"
},
{
"filename": "boost-1.71.0-linux-18.04-gcc-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"platform_version": "18.04",
"toolset": "gcc",
"download_url": "https://github.com/actions/boost-versions/releases/download/1.71.0-20200608.3/boost-1.71.0-linux-18.04-gcc-x64.tar.gz"
},
{
"filename": "boost-1.71.0-win32-msvc14.1-x86_64.tar.gz",
"arch": "x86_64",
"platform": "win32",
"toolset": "msvc14.1",
"download_url": "https://github.com/actions/boost-versions/releases/download/1.71.0-20200608.3/boost-1.71.0-win32-msvc14.1-x86_64.tar.gz"
},
{
"filename": "boost-1.71.0-win32-msvc14.2-x86_64.tar.gz",
"arch": "x86_64",
"platform": "win32",
"toolset": "msvc14.2",
"download_url": "https://github.com/actions/boost-versions/releases/download/1.71.0-20200608.3/boost-1.71.0-win32-msvc14.2-x86_64.tar.gz"
}
]
},
{
"version": "1.70.0",
"stable": true,
"release_url": "https://github.com/actions/boost-versions/releases/tag/1.70.0-20200608.2",
"files": [
{
"filename": "boost-1.70.0-linux-16.04-gcc-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"platform_version": "16.04",
"toolset": "gcc",
"download_url": "https://github.com/actions/boost-versions/releases/download/1.70.0-20200608.2/boost-1.70.0-linux-16.04-gcc-x64.tar.gz"
},
{
"filename": "boost-1.70.0-linux-18.04-gcc-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"platform_version": "18.04",
"toolset": "gcc",
"download_url": "https://github.com/actions/boost-versions/releases/download/1.70.0-20200608.2/boost-1.70.0-linux-18.04-gcc-x64.tar.gz"
},
{
"filename": "boost-1.70.0-win32-msvc14.1-x86_64.tar.gz",
"arch": "x86_64",
"platform": "win32",
"toolset": "msvc14.1",
"download_url": "https://github.com/actions/boost-versions/releases/download/1.70.0-20200608.2/boost-1.70.0-win32-msvc14.1-x86_64.tar.gz"
}
]
},
{
"version": "1.69.0",
"stable": true,
"release_url": "https://github.com/actions/boost-versions/releases/tag/1.69.0-20200608.1",
"files": [
{
"filename": "boost-1.69.0-linux-16.04-gcc-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"platform_version": "16.04",
"toolset": "gcc",
"download_url": "https://github.com/actions/boost-versions/releases/download/1.69.0-20200608.1/boost-1.69.0-linux-16.04-gcc-x64.tar.gz"
},
{
"filename": "boost-1.69.0-linux-18.04-gcc-x64.tar.gz",
"arch": "x64",
"platform": "linux",
"platform_version": "18.04",
"toolset": "gcc",
"download_url": "https://github.com/actions/boost-versions/releases/download/1.69.0-20200608.1/boost-1.69.0-linux-18.04-gcc-x64.tar.gz"
},
{
"filename": "boost-1.69.0-win32-msvc14.1-x86_64.tar.gz",
"arch": "x86_64",
"platform": "win32",
"toolset": "msvc14.1",
"download_url": "https://github.com/actions/boost-versions/releases/download/1.69.0-20200608.1/boost-1.69.0-win32-msvc14.1-x86_64.tar.gz"
}
]
}
]