forked from ModOrganizer2/modorganizer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
59 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
name: build modorganizer | ||
on: [push] | ||
jobs: | ||
build: | ||
runs-on: windows-2022 | ||
steps: | ||
- name: Checkout mob | ||
uses: actions/checkout@master | ||
with: | ||
repository: modorganizer2/mob | ||
path: ./mob | ||
- name: Cache mob | ||
id: cache-mob | ||
uses: actions/cache@v3 | ||
with: | ||
path: | | ||
./mob/mob.exe | ||
key: ${{ runner.OS }}-mob-cache-${{ hashFiles('mob/.git/refs/heads/master') }} | ||
restore-keys: | | ||
${{ runner.OS }}-mob-cache- | ||
- if: ${{ steps.cache-mob.outputs.cache-hit != 'true' }} | ||
name: Build mob | ||
run: .\mob\bootstrap.ps1 | ||
- name: Install Qt | ||
uses: jurplel/install-qt-action@v3 | ||
with: | ||
version: 6.5.1 | ||
modules: qtpositioning qtwebchannel qtwebengine qtwebsockets | ||
cache: true | ||
- name: Cache dependencies | ||
id: cache-dependencies | ||
uses: actions/cache@v3 | ||
with: | ||
path: | | ||
./install | ||
./build | ||
key: ${{ runner.OS }}-mo2-dependencies-${{ hashFiles('mob/.git/refs/heads/master') }} | ||
restore-keys: | | ||
${{ runner.OS }}-mo2-dependencies- | ||
- if: ${{ steps.cache-dependencies.outputs.cache-hit != 'true' }} | ||
name: Build dependencies with mob | ||
continue-on-error: true | ||
run: .\mob\mob.exe | ||
-l 4 -d . | ||
build | ||
7z zlib fmt gtest libbsarch libloot openssl libffi bzip2 | ||
python lz4 spdlog boost boost-di sip pyqt pybind11 ss licenses explorerpp | ||
- name: Build dependencies log | ||
continue-on-error: true | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: build-dependencies-log | ||
path: | | ||
mob.log | ||
- run: Get-Location | ||
- run: Get-ChildItem | ||
# - uses: actions/checkout@v3 | ||
# - run: Get-Location | ||
# - run: Get-ChildItem |