Skip to content

ci: release for all platforms #2

ci: release for all platforms

ci: release for all platforms #2

Workflow file for this run

name: Release
on:
pull_request:
push:
workflow_dispatch:
inputs:
component:
description: The software component to release
required: true
type: choice
options:
- identity-server
jobs:
build:
name: Build the code for each platform
runs-on: windows-2022
steps:
- uses: actions/[email protected]
- uses: mlugg/[email protected]
with:
version: 0.13.0
- name: Cache cargo dependencies
uses: Swatinem/[email protected]
# - name: Install mingw
# run: sudo apt-get install -y mingw-w64
- name: Install cargo-zigbuild
run: cargo install --locked [email protected]
- name: Perform
run: cargo zigbuild --target x86_64-unknown-linux-musl aarch64-unknown-linux-musl aarch64-apple-darwin x86_64-pc-windows-gnu