pesde/.github/workflows/debug.yml
Erica Marigold 5eec091fc8
chore(actions): fix bad compile command
Turns out I hallucinated `--exclude-features` into existence.
2024-12-25 18:38:47 +05:30

51 lines
1.5 KiB
YAML

name: Debug
on:
push:
pull_request:
jobs:
build:
strategy:
matrix:
include:
- job-name: Windows x86_64
target: x86_64-pc-windows-msvc
runs-on: windows-latest
artifact-name: pesde-debug-${{ github.sha }}-windows-x86_64
- job-name: Linux x86_64
target: x86_64-unknown-linux-gnu
runs-on: ubuntu-latest
artifact-name: pesde-debug-${{ github.sha }}-linux-x86_64
- job-name: macOS x86_64
target: x86_64-apple-darwin
runs-on: macos-13
artifact-name: pesde-debug-${{ github.sha }}-macos-x86_64
- job-name: macOS aarch64
target: aarch64-apple-darwin
runs-on: macos-latest
artifact-name: pesde-debug-${{ github.sha }}-macos-aarch64
name: Build for ${{ matrix.job-name }}
runs-on: ${{ matrix.runs-on }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Linux build dependencies
if: ${{ matrix.runs-on == 'ubuntu-latest' }}
run: |
sudo apt-get update
sudo apt-get install libdbus-1-dev pkg-config
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Compile in debug mode
run: cargo build --bins --no-default-features --features bin,patches,wally-compat --target ${{ matrix.target }} --locked
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.artifact-name }}
path: target/${{ matrix.target }}/debug/pesde*