add fallback resource dump #27 #36
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
name: ci | |
on: | |
push: | |
paths: | |
- '**.lua' | |
- '**.cpp' | |
- '**.c' | |
- '**.hpp' | |
- '**.h' | |
- '.gitmodules' | |
- '.gitignore' | |
- '.gitattributes' | |
- 'conanfile.txt' | |
- 'deps/**' | |
- 'src/**' | |
- 'utils/**' | |
- 'ci.yml' | |
pull_request: | |
paths: | |
- '**.lua' | |
- '**.cpp' | |
- '**.c' | |
- '**.hpp' | |
- '**.h' | |
- '.gitmodules' | |
- '.gitignore' | |
- '.gitattributes' | |
- 'conanfile.txt' | |
- 'deps/**' | |
- 'src/**' | |
- 'utils/**' | |
- 'ci.yml' | |
jobs: | |
build: | |
runs-on: windows-2019 | |
steps: | |
- name: checkout | |
uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- name: install-dependencies | |
run: | | |
pip3 install --upgrade conan==1.59.0 requests | |
conan profile new default --detect | |
conan config init | |
- name: configure-msbuild-env | |
uses: microsoft/[email protected] | |
- name: build | |
run: | | |
./generate.bat | |
cd build | |
msbuild ImasSCSP-localify.sln -m -p:Configuration=Release | |
- name: prepare-package | |
run: | | |
mkdir package | |
cp build/bin/x64/Release/version.dll package/version.dll | |
cp resources/scsp-config.json package/scsp-config.json | |
cp -r resources/schinese/scsp_localify package/scsp_localify | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: scsp-localify | |
path: package | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: scsp-localify-dll | |
path: package/version.dll |