cmake+nx: make binary tarball relocatable

This commit is contained in:
Anonymous Maarten
2021-06-17 23:44:07 +02:00
committed by Adrian Graber
parent 03df7307bb
commit 44a619a6e6
9 changed files with 89 additions and 19 deletions

View File

@ -62,7 +62,7 @@ jobs:
conan export cmake/ps2toolchain ps2dev-cmaketoolchain/master@
- name: "Download/build dependencies (conan install)"
run: |
conan install ${{ github.workspace }} librw/master@ -if build -o platform=${{ matrix.platform }} -o gl3_gfxlib=${{ matrix.gl3_gfxlib}} --build missing -pr:h ./host_profile -pr:b default
conan install ${{ github.workspace }} librw/master@ -if build -o librw:platform=${{ matrix.platform }} -o librw:gl3_gfxlib=${{ matrix.gl3_gfxlib}} --build missing -pr:h ./host_profile -pr:b default
env:
CONAN_SYSREQUIRES_MODE: enabled
- name: "Build librw (conan build)"

View File

@ -13,7 +13,7 @@ jobs:
- name: "Build files"
run: |
/opt/devkitpro/portlibs/switch/bin/aarch64-none-elf-cmake -S. -Bbuild .. -DLIBRW_PLATFORM=GL3 -DLIBRW_GL3_GFXLIB=GLFW -DLIBRW_INSTALL=True
cmake --build build -j
cmake --build build --parallel
- name: "Create binary package (cpack)"
working-directory: ./build
run: |