forked from moeoverflow/waifu2x-ncnn-vulkan-macos
-
Notifications
You must be signed in to change notification settings - Fork 0
60 lines (47 loc) · 1.43 KB
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
name: Build waifu2x! 🖼️
on:
push:
branches:
- master
env:
XCBUILD_PATH: "build/Release"
jobs:
ReleaseCI:
runs-on: macos-latest
steps:
- name: Checkout 🚚
uses: actions/checkout@v4
with:
lfs: true
submodules: true
- name: Install Dependencies 🚀
run: brew install tuist create-dmg
env:
HOMEBREW_NO_INSTALL_CLEANUP: 1
HOMEBREW_NO_AUTO_UPDATE: 1
- name: Setup latest Xcode ⚒️
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: latest
#- name: Import Certificates 📜
# uses: apple-actions/import-codesign-certs@v1
# with:
# p12-file-base64: ${{ secrets.CERTIFICATES_P12 }}
# p12-password: ${{ secrets.CERTIFICATES_P12_PASSWORD }}
- name: Generate project 🚀
#run: TUIST_BUNDLE=true tuist generate
run: TUIST_BUNDLE=true tuist generate
- name: Release Build 🔨
run: tuist build --configuration Release --build-output-path build
#- name: Check Send signature
# run: codesign --verify -vvvv --deep --strict "${XCBUILD_PATH}/${MACOS_APP_ARTIFACT}"
- name: Create Disk Image 💿
run: |
mkdir Artifacts
cp ${XCBUILD_PATH}/*.dmg Artifacts
cp ${XCBUILD_PATH}/*.zip Artifacts
- name: Upload Artifacts ☕️
uses: actions/upload-artifact@v4
with:
name: Release
path: Artifacts/*