Skip to content

Commit

Permalink
Release commit created with Cranko.
Browse files Browse the repository at this point in the history
+++ cranko-release-info-v1
[[projects]]
qnames = ["elfx86exts", "cargo"]
version = "0.4.2"
age = 0

+++
  • Loading branch information
cranko committed Aug 28, 2020
2 parents eb5d156 + 5f33e8c commit 3c71fb5
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 14 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# elfx86exts 0.4.2 (2020-08-28)

- Add a Windows build ... mainly to demonstrate Cranko's usage in a build
pipeline that includes Windows builds.

# elfx86exts 0.4.1 (2020-08-28)

- Migrate to Cranko for versioning and release workflow.
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

[package]
name = "elfx86exts"
version = "0.4.1"
version = "0.4.2"
authors = ["Peter Williams <peter@newton.cx>"]
description = "Decode x86 binaries (ELF or MachO) and print out which instruction set extensions they use."
homepage = "https://github.com/pkgw/elfx86exts"
Expand Down
13 changes: 12 additions & 1 deletion ci/azure-build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,18 @@ steps:
cd "$d"
curl --proto '=https' --tlsv1.2 -sSf https://pkgw.github.io/cranko/fetch-latest.sh | sh
echo "##vso[task.prependpath]$d"
displayName: Install latest Cranko
displayName: Install latest Cranko (not Windows)
condition: and(succeeded(), ne(variables['Agent.OS'], 'Windows_NT'))

- pwsh: |
$d = Join-Path $Env:Temp cranko-$(New-Guid)
[void][System.IO.Directory]::CreateDirectory($d)
cd $d
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072
iex ((New-Object System.Net.WebClient).DownloadString('https://pkgw.github.io/cranko/fetch-latest.ps1'))
echo "##vso[task.prependpath]$d"
displayName: Install latest Cranko (Windows)
condition: and(succeeded(), eq(variables['Agent.OS'], 'Windows_NT'))

- bash: |
cranko release-workflow apply-versions
Expand Down
22 changes: 11 additions & 11 deletions ci/azure-ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,17 @@ stages:
TOOLCHAIN: stable

# Windows builds
# - job: Windows
# pool:
# vmImage: windows-2019
# steps:
# - template: azure-build-and-test.yml
# strategy:
# matrix:
# x86_64-msvc:
# TOOLCHAIN: stable-x86_64-pc-windows-msvc
# x86_64-gnu:
# TOOLCHAIN: stable-x86_64-pc-windows-gnu
- job: Windows
pool:
vmImage: windows-2019
steps:
- template: azure-build-and-test.yml
strategy:
matrix:
x86_64-msvc:
TOOLCHAIN: stable-x86_64-pc-windows-msvc
x86_64-gnu:
TOOLCHAIN: stable-x86_64-pc-windows-gnu


# If all of those succeed and we're not in a pull request, run the deployment
Expand Down

0 comments on commit 3c71fb5

Please sign in to comment.