Skip to content

Commit ce816dd

Browse files
committed
chore: add ci check
1 parent 760c443 commit ce816dd

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

.github/workflows/ci.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
7+
jobs:
8+
build:
9+
runs-on: macos-latest
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v4
13+
14+
- name: Set up xcode
15+
uses: maxim-lobanov/setup-xcode@v1
16+
with:
17+
xcode-version: 16.0
18+
19+
- name: Enable PrepareMetalShaders plugin
20+
run: defaults write com.apple.dt.Xcode IDESkipPackagePluginFingerprintValidation -bool YES
21+
22+
- name: Build and test
23+
run: |
24+
xcodebuild -resolvePackageDependencies
25+
xcodebuild test -scheme flux.swift -destination 'platform=macOS' -skipPackagePluginValidation ENABLE_PLUGIN_PREPAREMLSHADERS=YES

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ For detailed configuration options, refer to the `FluxConfiguration.swift` file.
7474

7575
## TODO
7676

77-
- [ ] Support for FLUX.1 Dev model
77+
- [x] Support for FLUX.1 Dev model
7878
- [ ] Integration of LoRA
7979
- [ ] Image-to-image generation
8080

0 commit comments

Comments
 (0)