Add debian build to release matrix
This commit is contained in:
parent
940e573468
commit
9e8fa4d0a6
1 changed files with 12 additions and 3 deletions
15
.github/workflows/release.yaml
vendored
15
.github/workflows/release.yaml
vendored
|
|
@ -44,36 +44,45 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
build: ['linux', 'macos', 'arm-macos', 'windows']
|
build: ['linux', 'debian', 'macos', 'arm-macos', 'windows']
|
||||||
include:
|
include:
|
||||||
- build: linux
|
- build: linux
|
||||||
os: ubuntu-22.04
|
os: ubuntu-22.04
|
||||||
target: x86_64-unknown-linux-musl
|
target: x86_64-unknown-linux-musl
|
||||||
|
packages: apt
|
||||||
|
|
||||||
|
- build: debian
|
||||||
|
os: ubuntu-22.04
|
||||||
|
target: x86_64-unknown-linux-musl
|
||||||
|
packages: apt
|
||||||
|
|
||||||
- build: macos
|
- build: macos
|
||||||
os: macos-latest
|
os: macos-latest
|
||||||
target: x86_64-apple-darwin
|
target: x86_64-apple-darwin
|
||||||
|
packages: brew
|
||||||
|
|
||||||
- build: arm-macos
|
- build: arm-macos
|
||||||
os: macos-latest
|
os: macos-latest
|
||||||
target: aarch64-apple-darwin
|
target: aarch64-apple-darwin
|
||||||
|
packages: brew
|
||||||
|
|
||||||
- build: windows
|
- build: windows
|
||||||
os: windows-2022
|
os: windows-2022
|
||||||
target: x86_64-pc-windows-msvc
|
target: x86_64-pc-windows-msvc
|
||||||
|
packages: none
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install packages (linux)
|
- name: Install packages (linux)
|
||||||
if: matrix.build == 'linux'
|
if: matrix.packages == 'apt'
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install -y pandoc
|
sudo apt-get install -y pandoc
|
||||||
|
|
||||||
- name: Install packages (macos)
|
- name: Install packages (macos)
|
||||||
if: matrix.build == 'macos' || matrix.build == 'arm-macos'
|
if: matrix.packages == 'brew'
|
||||||
run: |
|
run: |
|
||||||
brew update
|
brew update
|
||||||
brew install pandoc
|
brew install pandoc
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue