Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CI #57

Merged
merged 1 commit into from
Jun 13, 2024
Merged
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
61 changes: 61 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
name: CI

on:
push:
branches:
# - master
# pull_request:
# schedule:
# - cron: '0 0 * * 1'

jobs:
watchos:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Building
run: make wch
- uses: actions/upload-artifact@v4
with:
name: fsmon-wch
path: fsmon-wch
ios:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Dependencies
run: |
git clone https://github.com/razum2um/ldid
cd ldid && make && cp -f ldid ldid2 /usr/local/bin
- name: Building
run: make ios
- uses: actions/upload-artifact@v4
with:
name: fsmon-ios
path: fsmon-ios
macos:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Building
run: make macos
- uses: actions/upload-artifact@v4
with:
name: fsmon-macos
path: fsmon-macos
linux:
name: linux
continue-on-error: true
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Building
run: make && mv fsmon fsmon-linux
- uses: actions/upload-artifact@v4
with:
name: fsmon-linux
path: fsmon-linux