Skip to content

app: small fixes

app: small fixes #27

Workflow file for this run

name: Build
on:
push:
branches: ["master"]
pull_request:
branches: ["master"]
jobs:
release:
name: Release - ${{ matrix.platform.target }}
strategy:
matrix:
platform:
- os: windows-latest
target: x86_64-pc-windows-gnu
cli: ggoled.exe
app: ggoled_app.exe
runs-on: ${{ matrix.platform.os }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Cache
uses: actions/cache@v3
with:
key: ${{ matrix.platform.target }}-${{ matrix.platform.os }}
path: |
~/.cargo
target
- name: Build binary
uses: houseabsolute/actions-rust-cross@v0
with:
command: build
target: ${{ matrix.platform.target }}
args: "--locked --release"
strip: true
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.platform.target }}
path: target/${{ matrix.platform.target }}/release/${{ matrix.platform.cli }}
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.platform.target }}
path: target/${{ matrix.platform.target }}/release/${{ matrix.platform.app }}