Skip to content

build: upload artifacts in ci; use LTO for release build (#29) #14

build: upload artifacts in ci; use LTO for release build (#29)

build: upload artifacts in ci; use LTO for release build (#29) #14

Workflow file for this run

name: Build
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose --release
- name: Run tests
run: cargo run --bin aw-watcher-window-wayland -- --help
- name: upload artifacts
uses: actions/upload-artifact@v3
with:
name: aw-watcher-window-wayland
path: target/release/aw-watcher-window-wayland
if-no-files-found: error