Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
380 commits
Select commit Hold shift + click to select a range
7c4b628
MacのconverterGUIのエラー修正
Kurooka Mar 23, 2021
f5b2d94
Update main.yml
SpriteStudio Mar 23, 2021
c05d4bc
Update build_convertergui_macos.sh
SpriteStudio Mar 23, 2021
0cdebe9
pkg作成時のテンポラリフォルダの変更と削除
Kurooka Mar 23, 2021
409e78b
Merge branch 'add_thumbnail' of https://github.com/SpriteStudio/Sprit…
Kurooka Mar 23, 2021
e0feb1e
ssfbがファイルロックされている問題への対応
Kurooka Mar 23, 2021
2c1d2ad
Update main.cpp
Kurooka Mar 23, 2021
9751560
スコープに無い変数をチェックしていたため修正
Kurooka Mar 24, 2021
d661e4c
Merge pull request #85 from SpriteStudio/add_thumbnail
SpriteStudio Mar 24, 2021
38790e9
GUIツールにsspkgのオプションを追加
Kurooka Mar 29, 2021
c226642
Merge pull request #86 from SpriteStudio/add_thumbnail
Kurooka Mar 29, 2021
d1c3bf5
Viewer2のソースBOM打ち直し
Kurooka Mar 29, 2021
c407845
viewer2のビルドができるように修正した
Kurooka Mar 29, 2021
39e9304
viewer2のCIの再稼働
Kurooka Mar 29, 2021
db54a9e
jucerへ定義を追加
Kurooka Mar 29, 2021
b842e36
Update ssOpenGLSetting.h
Kurooka Mar 30, 2021
e96e4eb
Merge pull request #87 from SpriteStudio/add_thumbnail
Kurooka Mar 30, 2021
5438e10
Merge branch 'develop' into release/2.1.0
Kurooka Apr 8, 2021
24f41fe
Merge pull request #92 from SpriteStudio/release/2.1.0
Kurooka Apr 9, 2021
a5ccf9f
コンバート時一時停止オプションの追加
Kurooka Apr 19, 2021
165bd9b
コンバーターにログ出力を追加
Kurooka Apr 20, 2021
c1e5774
Merge pull request #93 from SpriteStudio/add_logout
Kurooka Apr 20, 2021
33f89b8
日本語で不都合があったためloggerを変更
Kurooka May 6, 2021
e1daf05
本体同梱のためログを追加
Kurooka May 7, 2021
ea63fb0
Windowsのログ出力をUTF8に
Kurooka May 11, 2021
4be0393
出力フォルダに全角文字を指定された場合に zip 作成で失敗する問題を修正しました。
Jul 8, 2021
9c16cd2
#### 全角文字に関する問題を修正
Jul 10, 2021
1a2fddd
MAC標準出力を変更
Kurooka Jul 14, 2021
e6c4a9c
Merge branch 'develop' into add_logout
SpriteStudio Jul 26, 2021
b26ba88
Merge pull request #95 from SpriteStudio/add_logout
SpriteStudio Jul 26, 2021
eb2a275
エラーが発生するとconvert.logファイルがクローズされない問題を修正。
Jul 28, 2021
f2ad84c
Merge pull request #96 from SpriteStudio/add_logout
SpriteStudio Sep 29, 2021
8b2ebeb
use zlib-ng and minizip-ng via instead of vcpkg
Naruto Nov 22, 2021
6d54f1f
enable parallel
Naruto Nov 22, 2021
794e469
delete vcpkg
Naruto Nov 22, 2021
dc61960
update CMake to 3.15 for supporting JUCE CMake.
Naruto Nov 22, 2021
31b880f
support building SSView2 by CMake
Naruto Nov 23, 2021
473f563
change zlib libraries from zlib-ng family to zlib
Naruto Nov 23, 2021
9b65bfa
update cmake of windows
Naruto Nov 30, 2021
2fc5ae5
use zlib static library
Naruto Nov 30, 2021
0a2e06f
use fetch content flatbuffers
Naruto Dec 5, 2021
5b3374e
[SS6Converter]
Dec 6, 2021
d84b9dd
Merge branch 'develop' into feature/fix_build
Naruto Dec 6, 2021
92312ad
update build_viewer2_win.bat
Naruto Dec 6, 2021
9952df0
update release_viewer2_win.bat
Naruto Dec 6, 2021
47c4ef7
delete vcpkg
Naruto Dec 6, 2021
9221ee5
change flatbuffers from git submodule to cmake fetch content
Naruto Dec 6, 2021
df0745e
use json cmake fetch content instead of json submodule
Naruto Dec 6, 2021
68ead46
use plog from git submodule to cmake fetch content
Naruto Dec 6, 2021
52f26d7
use filesystem from git submodule to cmake fetch content
Naruto Dec 6, 2021
2412a48
use JUCE from git submodule to cmake fetch content
Naruto Dec 6, 2021
a471992
use glfw from git submodule to cmake fetch content
Naruto Dec 6, 2021
c64cab7
zlibstatic
Naruto Dec 6, 2021
6159f72
Merge pull request #97 from SpriteStudio/feature/fix_build
Naruto Dec 7, 2021
9156f6d
update flatbuffers to 2.0.5
Naruto Dec 13, 2021
e68f5f8
Merge pull request #99 from SpriteStudio/feature/update_fbs
Naruto Dec 13, 2021
7915fbd
fix glfw parameters
Naruto Dec 8, 2021
b94c4e3
enable sspkg unit test
Naruto Dec 13, 2021
a3dec1e
ignore thumnail file of sspkg if it doesn't exist.
Naruto Dec 16, 2021
a91524e
comment out sspkg ctest
Naruto Dec 16, 2021
100c187
Merge pull request #98 from SpriteStudio/feature/sspkg
Naruto Dec 16, 2021
d949a8c
add EffectNodeType, EffectRenderBlendType
Naruto Jul 15, 2019
24aa97d
add INSTANCE_LOOP_FLAG
Naruto Jul 27, 2019
9680f7b
generate ssfb header & fix build error
Naruto Jul 27, 2019
04d64d5
format ssfb.fbs base on flatbuffer coding style
Naruto Jul 29, 2019
3370c7d
remove userdata union vector
Naruto Jul 29, 2019
ce8fd88
remove effect behavior union vector
Naruto Jul 30, 2019
e826ecd
fix spell miss
Naruto Aug 1, 2019
a207d65
add EffectLoopFlag, TexWrapMode, TexFilterMode
Naruto Aug 2, 2019
e010ca8
add BoundsType, BlendType, remove ProjectData.flags
Naruto Aug 2, 2019
fd66a7b
PartData explicit uses PartFlag and PartFlag2
Naruto Aug 3, 2019
6901d51
unnique_ptr -> shared_ptr
Naruto Aug 4, 2019
b6f9370
rename enum field
Naruto Aug 4, 2019
41422c4
EffectFile をキャッシュ対応 & PartData の effectfilename:string を effect:Effec…
Naruto Aug 4, 2019
8abcd95
Support Universal Binry2 of SS6Converter CLI and GUI
Naruto Mar 20, 2022
972265a
update JUCE from 6.0 to 6.1
Naruto Mar 21, 2022
105f6f1
update git action
Naruto Mar 21, 2022
392de95
update git action
Naruto Mar 21, 2022
64323e0
build pass Ss6ConverterGUI
Naruto Mar 26, 2022
6f6c65e
update Qt from 6.2.4 to 6.3.0
Naruto Apr 13, 2022
0252a4f
update Qt from 6.2.4 to 6.3.0
Naruto Apr 13, 2022
1e54074
downgrade JUCE from 6.1.6 to 6.0.8
Naruto Apr 13, 2022
2e21f3c
Merge branch 'feature/support_universalbinary2' of github.com:SpriteS…
Naruto Apr 13, 2022
b13ed87
6.1.6
Naruto Apr 13, 2022
b864c37
Merge branch 'feature/support_universalbinary2' of github.com:SpriteS…
Naruto Apr 13, 2022
a265fa8
avoid Viewer2 build error in windows
Naruto Apr 13, 2022
ce7c961
Merge pull request #102 from SpriteStudio/feature/support_universalbi…
Naruto May 10, 2022
7522145
Merge pull request #100 from SpriteStudio/feature/change_ssfbschema
SpriteStudio Jun 21, 2022
0a1359d
Revert "feature/change ssfbschema"
Naruto Jun 21, 2022
6125689
Merge pull request #103 from SpriteStudio/revert-100-feature/change_s…
Naruto Jun 21, 2022
bc82cf1
update qt to 6.3.1
Naruto Aug 21, 2022
cc7e89e
update JUCE to 7.0.2
Naruto Aug 21, 2022
daeaf45
Merge pull request #104 from SpriteStudio/feature/update
Naruto Aug 21, 2022
7e766c4
windows版でglew初期化が出来ていなかったので追加
Kurooka Aug 25, 2022
022bb1e
update flatbuffers to 2.0.7
Naruto Sep 4, 2022
6ccf264
Merge pull request #106 from SpriteStudio/feature/upgrade_fbs
Naruto Sep 4, 2022
32bdb64
update flatbuffers to 22.10.26
Naruto Nov 6, 2022
b6c9ed1
Merge pull request #107 from SpriteStudio/feature/upgrade_fbs
Naruto Nov 26, 2022
2327554
update flatbuffers to 23.1.4
Naruto Jan 5, 2023
f6eaa3f
Merge pull request #108 from SpriteStudio/feature/update_fbs
Naruto Jan 5, 2023
fff0a32
update flatbuffers to 23.1.21
Naruto Jan 28, 2023
d7a8408
Merge pull request #109 from SpriteStudio/feature/fbs23.1.21
Naruto Jan 28, 2023
9e8c63d
update cmake projects
Naruto Mar 18, 2023
d5ba633
Merge pull request #110 from SpriteStudio/feature/update_cmake
Naruto Mar 18, 2023
40fb9a2
fix windows release pacakge
Naruto May 29, 2023
0644770
Merge pull request #112 from SpriteStudio/feature/fix_winrelease
Naruto May 30, 2023
bf7304a
- GUIコンバータのQt6向け対応
May 30, 2023
d914930
Merge pull request #113 from SpriteStudio/fix_converter_gui_issue_for…
SpriteStudio May 30, 2023
422c7ea
テクスチャ作成に関するstdoutへのデバッグ出力をカット
May 31, 2023
784596e
Revert "テクスチャ作成に関するstdoutへのデバッグ出力をカット"
May 31, 2023
2e3a4b7
一時デバッグログの解除
May 31, 2023
bc0df61
Mac デフォルトのターゲットOSバージョンを明示 → 10.15
May 31, 2023
3b48534
Merge pull request #114 from SpriteStudio/feature/import_from_71
Naruto Jun 1, 2023
5183bd4
enalbe sccache on github actions
Naruto Jun 2, 2023
dc0c116
update actions and cache qt
Naruto Jun 2, 2023
573a2a6
brush up
Naruto Jun 2, 2023
4fba5b1
remove an action
Naruto Jun 2, 2023
7ea7e5c
update
Naruto Jun 2, 2023
096b691
Merge pull request #115 from SpriteStudio/feature/enable_sccache
Naruto Jun 2, 2023
b66626d
update third party libraries
Naruto May 30, 2023
6f925da
remove size
Naruto Jun 2, 2023
2b0d17f
remove unused projects
Naruto Jun 2, 2023
9c4a7c8
Merge pull request #116 from SpriteStudio/feature/update_libs
Naruto Jun 2, 2023
8d0411a
disable Qt cache because of the limitation of github action storage
Naruto Jun 3, 2023
0c66450
upload artifacts only at pushing the tag.
Naruto Jun 3, 2023
0ae0e28
enable sccache except pushing a tag.
Naruto Jun 3, 2023
8b2afde
fix
Naruto Jun 3, 2023
00416a3
add cmake + ninja + msvc bat files
Naruto Jun 3, 2023
5774917
fix
Naruto Jun 3, 2023
f4d57cb
disable sscache on windows
Naruto Jun 3, 2023
d39bc5f
QT_PREFIX
Naruto Jun 3, 2023
8d44e66
fix
Naruto Jun 3, 2023
eb06c05
Merge pull request #117 from SpriteStudio/feature/remove_cache
Naruto Jun 3, 2023
04d4404
change printf function from vsprintf() to vsnprintf()
Naruto Apr 24, 2023
8022ba9
change cache container type from std::vector to std::map for improvin…
Naruto Apr 29, 2023
e66bd77
support ninja
Naruto Jun 3, 2023
65aec7f
integrate ninja batch files into original batch files.
Naruto Jun 3, 2023
b08ced4
fix
Naruto Jun 3, 2023
30288b5
use bash shebang
Naruto Jun 3, 2023
f06312a
use ninja that is installed from homebrew
Naruto Jun 3, 2023
b596195
Merge pull request #118 from SpriteStudio/feature/support_ninja
Naruto Jun 3, 2023
8af021b
Merge pull request #111 from SpriteStudio/feature/improve_cache
Naruto Jun 3, 2023
c114ee0
SSView2 supports opening a sspj file by Drag and drop.
Naruto Jun 28, 2023
2deb887
Merge pull request #121 from SpriteStudio/feature/support_drag_and_drop
SpriteStudio Jun 29, 2023
375d8cf
support windows both arm64 and x64
Naruto Jun 8, 2023
a0f0c90
avoid executing ctest command when target architecture doesnt equal h…
Naruto Jun 8, 2023
433a623
remove README.md
Naruto Jun 9, 2023
54757bb
update actions
Naruto Jun 9, 2023
7a386c5
remove windows arm64 task from github actions
Naruto Jun 30, 2023
ea57ae2
Merge pull request #119 from SpriteStudio/feature/win_arm
Naruto Jun 30, 2023
ae97068
use global env for assigning dependency libraries version number
Naruto Jul 10, 2023
eb7dc5a
add win and macos workflows
Naruto Jul 10, 2023
38315f4
Merge pull request #122 from SpriteStudio/feature/update_workflow
Naruto Jul 10, 2023
5ead16b
fix workflow title
Naruto Jul 10, 2023
59cde33
add short commit hash to artfifacts.
Naruto Jul 10, 2023
da50358
fix
Naruto Jul 10, 2023
876d308
sspj ssae ssceの個別ロード
Sep 26, 2023
d5a2205
godotプラグイン用にオリジナルパスが欲しかったので追加
Sep 27, 2023
591abe6
godot用拡張
Sep 29, 2023
f2ad18f
stbiのリンクをデファインで抑制するようにした
Oct 3, 2023
b6291b7
セルマップに対応する画像ファイルのパスを取得する際にWin/Macの関数を通すようになっていたがデファインでスルーするようにした。
Oct 3, 2023
35b1f9f
RenderからDecoderのポインタをとれるように変更
Oct 4, 2023
0beb9a1
例外発生を禁止するフラグ(デファイン)を追加
Oct 5, 2023
26ecd75
Merge pull request #123 from SpriteStudio/load_data_Individual
terkov Nov 14, 2023
6cc8ed5
use doxygen-awesome-css(https://github.com/jcbhmr/doxyawesome)
Naruto Nov 16, 2023
d85ccf6
generate a document
Naruto Nov 16, 2023
27eb31c
update document
Naruto Nov 18, 2023
affa922
add generate_docs.sh
Naruto Nov 18, 2023
0145a4e
add docs.yml
Naruto Nov 18, 2023
d119de7
update actions files.
Naruto Nov 18, 2023
a4da009
update
Naruto Nov 18, 2023
1630a0b
Merge pull request #124 from SpriteStudio/feature/add_modern_doxygen
Naruto Nov 18, 2023
356b4e2
update doc.yml
Naruto Nov 21, 2023
9cb42c1
add config git
Naruto Nov 21, 2023
c0cd4d1
remove path parameter
Naruto Nov 21, 2023
d03df94
update
Naruto Nov 21, 2023
342e9b4
update mainpage.md
Naruto Nov 21, 2023
ceeeb2e
Update documentation
Naruto Nov 21, 2023
986d3ca
Merge pull request #125 from SpriteStudio/feature/docs_20231121024242
SpriteStudio Nov 21, 2023
4e1ad07
ssae のロードで xml.Parse 失敗時の戻り値が不定だった問題を修正 (#126)
SpriteStudio Jan 25, 2024
ed041c5
update 3rd party libraries.
Naruto Mar 24, 2024
964484e
Merge pull request #127 from SpriteStudio/feature/update_lib2
Naruto Mar 24, 2024
c0bc7a1
update min cmake version to 3.25
Naruto Apr 24, 2024
f97a53f
Merge pull request #128 from SpriteStudio/feature/cmake
Naruto Apr 24, 2024
f8a0045
update Qt from 6.5.1 to 6.7.0
Naruto Apr 24, 2024
e05c64a
enable sccache in windows of GitHub Actions.
Naruto Apr 24, 2024
3e2701f
Merge pull request #129 from SpriteStudio/feature/qt
Naruto Apr 24, 2024
5593249
update
Naruto Apr 27, 2024
08e9565
Merge pull request #130 from SpriteStudio/feature/update_libs
Naruto Apr 27, 2024
2b048f2
Update documentation
Naruto Apr 27, 2024
d69fe1f
Merge pull request #131 from SpriteStudio/feature/docs_20240427142618
Naruto Apr 28, 2024
0a622be
fix generate ssfb code scripts.
Naruto Apr 29, 2024
722979b
Merge pull request #132 from SpriteStudio/feature/fix_generatecode
Naruto May 24, 2024
2096475
feature/remove plog (#134)
Naruto May 27, 2024
4b902f1
sspj ファイル読み込み改善 (#135)
Naruto Jun 10, 2024
215700c
generate the current commit hash version. (#136)
Naruto Jun 10, 2024
f1664df
use C++17 features etc (#137)
Naruto Jun 11, 2024
c91f21b
feature/chores (#138)
Naruto Jun 25, 2024
c71030a
change logic of converter error handling.
Naruto Jun 16, 2024
0edea52
build error.
Naruto Jun 16, 2024
718525d
add MeshBone tests.
Naruto Jun 16, 2024
d5ff39c
declare SSException.h
Naruto Jun 16, 2024
16cde2f
add isWindows()
Naruto Jun 16, 2024
a38674b
Merge pull request #141 from SpriteStudio/feature/errorhandling_develoop
Naruto Jun 25, 2024
503475e
Update LICENSE
kubodera-k Dec 18, 2024
13edd41
update 3rd libs.
Naruto Mar 15, 2025
e6801c3
update ci environment
Naruto Mar 15, 2025
47c8107
update Qt to 6.8.2
Naruto Mar 16, 2025
06dcfb0
fix
Naruto Mar 17, 2025
2f1a4a6
update
Naruto Mar 17, 2025
a161a2d
fix windows build scripts.
Naruto Mar 17, 2025
6fa3434
fix
Naruto Mar 17, 2025
b08bbee
fix qt variable.
Naruto Mar 17, 2025
40423ff
Merge pull request #145 from SpriteStudio/feature/update
Naruto Mar 17, 2025
868efb7
upgrade doxygen-awesome-css to v2.3.4
Naruto Mar 24, 2025
f02e2b7
update docs
Naruto Mar 24, 2025
90899cc
Merge pull request #147 from SpriteStudio/feature/update_doc
Naruto Mar 24, 2025
f6d98df
use minizip-ng instead of minizip's zlib
Naruto Mar 18, 2025
a45507d
fix.
Naruto Mar 22, 2025
dd7c359
fix error of execuing a windows binary.
Naruto Mar 30, 2025
c912111
use seanmiddleditch setup-ninja.
Naruto Mar 30, 2025
3fd62cb
use amd64 instead of x64
Naruto Mar 30, 2025
13b1ca5
Revert "use amd64 instead of x64"
Naruto Mar 30, 2025
65ac01f
fix
Naruto Mar 30, 2025
0e5ded8
Merge pull request #146 from SpriteStudio/feature/use_minizip-ng
Naruto Mar 30, 2025
f93947a
fix
Naruto Mar 30, 2025
e2822ac
fix
Naruto Mar 30, 2025
b10e53e
fix
Naruto Mar 30, 2025
cffcc4d
Merge pull request #148 from SpriteStudio/feature/fix_actions
Naruto Mar 30, 2025
5986f75
Update documentation
Naruto Mar 30, 2025
50ab360
Merge pull request #149 from SpriteStudio/feature/docs_20250330154320
Naruto Mar 30, 2025
b5d6786
fix windows release of github actions.
Naruto Mar 30, 2025
017d7d6
Merge branch 'develop' of ssh://github.com/SpriteStudio/SpriteStudio6…
Naruto Mar 30, 2025
0692729
fix build error.
Naruto Apr 1, 2025
1e5e36e
use cmake 4.0.0
Naruto Apr 1, 2025
875c030
disable sccache at building win.
Naruto Apr 1, 2025
9f1e4ed
Merge pull request #151 from SpriteStudio/feature/build_error
Naruto Apr 1, 2025
38d2ab5
update glew to 2.2.0
Naruto Apr 1, 2025
50b6a7c
reduce Ss6Converter warning.
Naruto Apr 1, 2025
4fbfa11
delete .travis.yml
Naruto Apr 2, 2025
fb38d9a
fix qt variable.
Naruto Apr 2, 2025
6d44b22
disable sccache.
Naruto Apr 2, 2025
5bff2df
Merge pull request #152 from SpriteStudio/feature/reduce_warning
Naruto Apr 5, 2025
8dd39fd
update from c++11 to c++17
Naruto Apr 5, 2025
c2491c5
update qt to 6.9.0
Naruto Apr 5, 2025
72aa6cc
Merge pull request #153 from SpriteStudio/feature/qt690
Naruto Apr 5, 2025
fa5b51f
contain Ss6Converter command into Ss6ConverterGUI.app (#155)
Naruto May 13, 2025
aad831e
update 3rd libs.
Naruto May 31, 2025
9711b89
Merge pull request #156 from SpriteStudio/feature/update_3rdlibs
Naruto May 31, 2025
267c8d5
codesign (#154)
Naruto Jun 6, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
40 changes: 40 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: generate documentation

on:
workflow_dispatch:


jobs:
docs:
strategy:
matrix:
platform: [macos-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: prepare
run: |
brew install doxygen
brew install graphviz
- name: checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: develop
- name: generate documentation
run: ./Scripts/generate_docs.sh
- name: Set environment variable
run: echo "DATE=$(date +%Y%m%d%H%M%S)" >> $GITHUB_ENV
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v5
with:
commit-message: "Update documentation"
branch: feature/docs_${{ env.DATE }}
base: develop
title: "Update document ${{ env.DATE }}"
draft: false
- name: check outputs
if: ${{ steps.cpr.outputs.pull-request-number }}
run: |
echo "Pull Request Number - ${{ steps.cpr.outputs.pr_number }}"
echo "Pull Request URL - ${{ steps.cpr.outputs.pr_url }}"
94 changes: 94 additions & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
name: macOS Release

on:
workflow_dispatch:

env:
qtVersion: "6.9.0"

jobs:
macos_build:
strategy:
matrix:
platform: [macos-latest]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: prepare build environment
run: |
brew install ninja
brew install glfw3
- name: Install Qt
uses: jurplel/install-qt-action@v4
with:
version: ${{ env.qtVersion }}
- name: "set QT_PREFIX"
run: echo "QT_PREFIX=${QT_ROOT_DIR}" >> $GITHUB_ENV
- name: build
run: ./Scripts/build_macos.sh

- name: Retrieve the secret and decode it to a file
env:
DEV_CERT_APP2: ${{ secrets.DEV_CERT_APP2 }}
DEV_CERT_PASS: ${{ secrets.DEV_CERT_PASS }}
KC_PASS: ${{ secrets.KC_PASS }}
run: |
# create variables
CERTIFICATE_PATH=$RUNNER_TEMP/build_certificate.p12
KEYCHAIN_PATH=app-signing.keychain-db

# import certificate and provisioning profile from secrets
echo -n "$DEV_CERT_APP2" | base64 --decode > $CERTIFICATE_PATH

# create temporary keychain
security create-keychain -p "$KC_PASS" $KEYCHAIN_PATH
security set-keychain-settings -lut 21600 $KEYCHAIN_PATH
security unlock-keychain -p "$KC_PASS" $KEYCHAIN_PATH

# import certificate to keychain
security import $CERTIFICATE_PATH -P "$DEV_CERT_PASS" -f pkcs12 -k $KEYCHAIN_PATH -T /usr/bin/codesign
security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k "$KC_PASS" $KEYCHAIN_PATH
security list-keychain -d user -s $KEYCHAIN_PATH
- name: codesign
env:
DEV_ID_APPLICATION: ${{ secrets.DEV_ID_APPLICATION }}
run: |
KEYCHAIN_PATH=app-signing.keychain-db

codesign --force --verify --verbose --keychain $KEYCHAIN_PATH --sign "${DEV_ID_APPLICATION}" ./Build/Converter/build/Ss6Converter --deep --options runtime --timestamp
/bin/cp ./Build/Converter/build/Ss6Converter ./Build/Ss6ConverterGUI/Ss6ConverterGUI/build/Ss6ConverterGUI.app/Contents/MacOS/
codesign --force --verify --verbose --keychain $KEYCHAIN_PATH --sign "${DEV_ID_APPLICATION}" ./Build/Ss6ConverterGUI/Ss6ConverterGUI/build/Ss6ConverterGUI.app --deep --options runtime --timestamp
codesign --force --verify --verbose --keychain $KEYCHAIN_PATH --sign "${DEV_ID_APPLICATION}" ./Build/Viewer2/cmakeBuild/SSView2_artefacts/Release/SSViewer2.app --deep --options runtime --timestamp

- name: notary
env:
APPLE_ID: ${{ secrets.APPLE_ID }}
TEAM_ID: ${{ secrets.TEAM_ID }}
NOTRIZATION_PWD: ${{ secrets.NOTARIZATION_PWD }}
run: |
xcrun notarytool store-credentials "notarytool-profile" --apple-id "$APPLE_ID" --team-id "$TEAM_ID" --password "$NOTRIZATION_PWD"

echo "xcrun notarytool"

NOTARIZATION_FILE=Ss6ConverterGUI_notarization.zip
ditto -c -k --sequesterRsrc --keepParent "./Build/Ss6ConverterGUI/Ss6ConverterGUI/build/Ss6ConverterGUI.app" "$NOTARIZATION_FILE"
xcrun notarytool submit "$NOTARIZATION_FILE" --keychain-profile "notarytool-profile" --wait

NOTARIZATION_FILE=SSViewer2_notarization.zip
ditto -c -k --sequesterRsrc --keepParent "./Build/Viewer2/cmakeBuild/SSView2_artefacts/Release/SSViewer2.app" "$NOTARIZATION_FILE"
xcrun notarytool submit "$NOTARIZATION_FILE" --keychain-profile "notarytool-profile" --wait

echo "xcrun stapler"
xcrun stapler staple -v "./Build/Ss6ConverterGUI/Ss6ConverterGUI/build/Ss6ConverterGUI.app"
xcrun stapler staple -v "./Build/Viewer2/cmakeBuild/SSView2_artefacts/Release/SSViewer2.app"
- name: pack
run: ./Scripts/release_pack_macos.sh
- id: commit
uses: pr-mpt/actions-commit-hash@v3
- name: Upload Tools
uses: actions/upload-artifact@v4
with:
name: macos_${{ steps.commit.outputs.short }}
path: Tools
90 changes: 90 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
name: CI

on: [push]

env:
SCCACHE_GHA_ENABLED: "true"
SCCACHE_CACHE_MULTIARCH: "1"
qtVersion: "6.9.0"
cmakeVersion: "4.0.0"

jobs:
build:
strategy:
matrix:
platform: [macos-latest]
runs-on: ${{ matrix.platform }}
steps:
# - name: Run sccache-cache
# uses: mozilla-actions/sccache-action@v0.0.8
# with:
# version: "v0.10.0"
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: prepare build environment
run: |
brew install ninja
brew install glfw3
- name: Install Qt
uses: jurplel/install-qt-action@v4
with:
version: ${{ env.qtVersion }}
- name: "set QT_PREFIX"
run: echo "QT_PREFIX=${QT_ROOT_DIR}" >> $GITHUB_ENV
- name: release build
run: ./Scripts/release_macos.sh
- id: commit
uses: pr-mpt/actions-commit-hash@v3
- name: Upload Tools
uses: actions/upload-artifact@v4
with:
name: macos_${{ steps.commit.outputs.short }}
path: Tools
if: startsWith(github.ref, 'refs/tags/')

win_x64_build:
strategy:
matrix:
platform: [windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Setup Ninja
uses: seanmiddleditch/gha-setup-ninja@master
# - name: Run sccache-cache
# uses: mozilla-actions/sccache-action@v0.0.8
# with:
# version: "v0.10.0"
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Install cmake
uses: jwlawson/actions-setup-cmake@v2
with:
cmake-version: ${{ env.cmakeVersion }}
- name: Check cmake
run: |
cmake --version
cmake -h
- name: Install x64 Qt
uses: jurplel/install-qt-action@v4
with:
version: ${{ env.qtVersion }}
host: 'windows'
target: 'desktop'
arch: 'win64_msvc2022_64'
- name: "set x64 QT_PREFIX"
shell: bash
run: |
echo "QT_PREFIX=${QT_ROOT_DIR}" >> $GITHUB_ENV
- name: release x64 build
shell: cmd
run: Scripts\release_win.bat x64
- id: commit
uses: pr-mpt/actions-commit-hash@v3
- name: Upload Tools
uses: actions/upload-artifact@v4
with:
name: windows_x64_${{ steps.commit.outputs.short }}
path: Tools
if: startsWith(github.ref, 'refs/tags/')
20 changes: 20 additions & 0 deletions .github/workflows/remove-old-artifacts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Remove old artifacts

on:
schedule:
# Every day at 1am
- cron: '0 1 * * *'

jobs:
remove-old-artifacts:
runs-on: ubuntu-latest
timeout-minutes: 10

steps:
- name: Remove old artifacts
uses: c-hive/gha-remove-artifacts@v1
with:
age: '2 month'
# Optional inputs
# skip-tags: true
# skip-recent: 5
69 changes: 69 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
name: Windows Release

on:
workflow_dispatch:
inputs:
arch:
description: 'architecture'
required: true
default: 'x64'
type: choice
options:
- x64
# - arm64

env:
arch: ${{ inputs.arch }}
qtVersion: "6.9.0"
cmakeVersion: "4.0.0"

jobs:
win_build:
strategy:
matrix:
platform: [windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Setup Ninja
uses: seanmiddleditch/gha-setup-ninja@master
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Install cmake
uses: jwlawson/actions-setup-cmake@v2
with:
cmake-version: ${{ env.cmakeVersion }}
- name: Check cmake
run: |
cmake --version
cmake -h
- name: Install x64 Qt
if: ${{ env.arch == 'x64' }}
uses: jurplel/install-qt-action@v4
with:
version: ${{ env.qtVersion }}
host: 'windows'
target: 'desktop'
arch: 'win64_msvc2022_64'
- name: Install arm64 Qt
if: ${{ env.arch == 'arm64' }}
uses: jurplel/install-qt-action@v4
with:
version: ${{ env.qtVersion }}
host: 'windows'
target: 'desktop'
arch: 'win64_msvc2022_arm64'
- name: "set QT_PREFIX"
shell: bash
run: |
echo "QT_PREFIX=${QT_ROOT_DIR}" >> $GITHUB_ENV
- name: release build
shell: cmd
run: Scripts\release_win.bat ${{ env.arch }}
- id: commit
uses: pr-mpt/actions-commit-hash@v3
- name: Upload Tools
uses: actions/upload-artifact@v4
with:
name: windows_${{ env.arch }}_${{ steps.commit.outputs.short }}
path: Tools
Loading
Loading