Skip to content

feat(desktop): control macOS dock icon visibility #65

feat(desktop): control macOS dock icon visibility

feat(desktop): control macOS dock icon visibility #65

name: Build Native Libraries
on:
push:
paths:
- 'composeApp/src/desktopMain/c/**'
- '.github/workflows/build_native_libraries.yml'
- 'composeApp/src/desktopMain/Makefile'
pull_request:
paths:
- 'composeApp/src/desktopMain/c/**'
- '.github/workflows/build_native_libraries.yml'
- 'composeApp/src/desktopMain/Makefile'
jobs:
build:
name: Build on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- name: Install dependencies (Linux)
if: runner.os == 'Linux'
run: sudo apt-get update && sudo apt-get install -y clang make
- name: Install dependencies (macOS)
if: runner.os == 'macOS'
run: brew install llvm make
- name: Install dependencies (Windows)
if: runner.os == 'Windows'
run: choco install llvm make
- name: Build Native Libraries
run: ./gradlew makeLibrary
- name: Upload built library
uses: actions/upload-artifact@v4
with:
name: networktypefinder-${{ matrix.os }}
path: composeApp/src/desktopMain/resources/