Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Build

on:
push:

jobs:
mac-build:
runs-on: macos-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Cache cargo registry
uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}

- name: Install dependencies
run: brew install gtk+3 atk gdk-pixbuf pango adwaita-icon-theme jpeg

- name: Build CLI
run: cargo build --bin library-loader-cli --release

- name: Buiid GUI
run: cargo build --bin library-loader-gui --release

- name: Artifact
uses: actions/upload-artifact@v4
with:
name: library-loader
path: |
target/release/library-loader-cli
target/release/library-loader-gui