decompression support in PRX format and PUPK support #67
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: C/C++ CI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build-linux: | |
runs-on: ubuntu-18.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Make binaries | |
run: make | |
- name: Prepare Artifacts | |
run: mkdir artifact && mv pspdecrypt artifact/. && cp Readme.md artifact/. | |
- name: Upload Artifacts | |
uses: actions/upload-artifact@v2 | |
with: | |
name: linux-binaries | |
path: artifact | |
build-windows: | |
runs-on: windows-2019 | |
defaults: | |
run: | |
shell: msys2 {0} | |
steps: | |
- uses: msys2/setup-msys2@v2 | |
with: | |
install: >- | |
base-devel | |
git | |
mingw-w64-x86_64-clang | |
mingw-w64-x86_64-openssl | |
- uses: actions/checkout@v2 | |
- name: Makes Binaries | |
run: make EXTRA_FLAG=-static | |
- name: Prepare Artifacts | |
run: mkdir artifact && mv pspdecrypt artifact/. && cp Readme.md artifact/. | |
- name: Upload Artifacts | |
uses: actions/upload-artifact@v2 | |
with: | |
name: windows-binaries | |
path: artifact | |
build-macos: | |
runs-on: macos-10.15 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup OpenSSL | |
run: | | |
cd /usr/local/include | |
ln -s ../opt/openssl/include/openssl . | |
- name: Make binaries | |
run: | | |
export LIBRARY_PATH=$LIBRARY_PATH:/usr/local/opt/openssl/lib/ | |
make CXX='clang++ -std=c++11' | |
- name: Prepare Artifacts | |
run: mkdir artifact && mv pspdecrypt artifact/. && cp Readme.md artifact/. | |
- name: Upload Artifacts | |
uses: actions/upload-artifact@v2 | |
with: | |
name: macos-binaries | |
path: artifact |