Skip to content

Large refactor (add libs and app) #23

Large refactor (add libs and app)

Large refactor (add libs and app) #23

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
bin: ggoled.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.bin }}