Skip to content

Commit

Permalink
Update build-linux.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherHX authored Aug 17, 2024
1 parent c5a7af8 commit eed9ebf
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ jobs:
matrix:
repo:
- mcpelauncher-manifest
- mcpelauncher-ui-manifest
- msa-manifest
#- mcpelauncher-ui-manifest
#- msa-manifest
platform:
# - name: bionic
# container: buildpack-deps:bionic
Expand Down Expand Up @@ -351,6 +351,7 @@ jobs:
echo "PATH=$PATH:$PWD/fedora-sysroot/bin:$PWD/fedora-sysroot/usr/bin" >> $GITHUB_ENV
echo "LD_LIBRARY_PATH=$PWD/fedora-sysroot/lib64" >> $GITHUB_ENV
echo "PKG_CONFIG_LIBDIR=$PWD/fedora-sysroot/usr/lib64/pkgconfig:$PWD/fedora-sysroot/usr/share/pkgconfig" >> $GITHUB_ENV
echo "PKG_CONFIG_SYSROOT_DIR=$PWD/fedora-sysroot" >> $GITHUB_ENV
cat > toolchain.txt << EOF
set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSROOT $PWD/fedora-sysroot)
Expand Down Expand Up @@ -402,6 +403,7 @@ jobs:
echo "PATH=$PATH:$PWD/fedora-sysroot/bin:$PWD/fedora-sysroot/usr/bin" >> $GITHUB_ENV
echo "LD_LIBRARY_PATH=$PWD/fedora-sysroot/lib64" >> $GITHUB_ENV
echo "PKG_CONFIG_LIBDIR=$PWD/fedora-sysroot/usr/lib64/pkgconfig:$PWD/fedora-sysroot/usr/share/pkgconfig" >> $GITHUB_ENV
echo "PKG_CONFIG_SYSROOT_DIR=$PWD/fedora-sysroot" >> $GITHUB_ENV
cat > toolchain.txt << EOF
set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSROOT $PWD/fedora-sysroot)
Expand Down Expand Up @@ -455,6 +457,7 @@ jobs:
echo "PATH=$PATH:$PWD/fedora-sysroot/bin:$PWD/fedora-sysroot/usr/bin" >> $GITHUB_ENV
echo "LD_LIBRARY_PATH=$PWD/fedora-sysroot/lib64:$PWD/fedora-sysroot/lib64/libproxy" >> $GITHUB_ENV
echo "PKG_CONFIG_LIBDIR=$PWD/fedora-sysroot/usr/lib64/pkgconfig:$PWD/fedora-sysroot/usr/share/pkgconfig" >> $GITHUB_ENV
echo "PKG_CONFIG_SYSROOT_DIR=$PWD/fedora-sysroot" >> $GITHUB_ENV
cat > toolchain.txt << EOF
set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSROOT $PWD/fedora-sysroot)
Expand Down Expand Up @@ -508,6 +511,7 @@ jobs:
echo "PATH=$PATH:$PWD/fedora-sysroot/bin:$PWD/fedora-sysroot/usr/bin" >> $GITHUB_ENV
echo "LD_LIBRARY_PATH=$PWD/fedora-sysroot/lib64:$PWD/fedora-sysroot/lib64/libproxy" >> $GITHUB_ENV
echo "PKG_CONFIG_LIBDIR=$PWD/fedora-sysroot/usr/lib64/pkgconfig:$PWD/fedora-sysroot/usr/share/pkgconfig" >> $GITHUB_ENV
echo "PKG_CONFIG_SYSROOT_DIR=$PWD/fedora-sysroot" >> $GITHUB_ENV
cat > toolchain.txt << EOF
set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSROOT $PWD/fedora-sysroot)
Expand Down Expand Up @@ -542,6 +546,8 @@ jobs:
repo: mcpelauncher-ui-manifest
- glfw: true
repo: msa-manifest
- platform:
generator: DEB

container: ${{ matrix.platform.container}}
env:
Expand Down

0 comments on commit eed9ebf

Please sign in to comment.