Skip to content

Commit

Permalink
fix: Build directory
Browse files Browse the repository at this point in the history
Haiku hardcodes the current build directory to store its
extended attributes. We therefore use /tmp as our build directory
to force libroot to store its xattr there.
  • Loading branch information
trungnt2910 committed Mar 25, 2023
1 parent c26f0b8 commit 9b9931f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ jobs:
sudo apt install -y attr nasm
cd buildtools/jam
make -j$(nproc)
cd ../../haiku
./configure --host-only
../buildtools/jam/jam0 -j$(nproc) -q '<build>package'
cd ..
cd /tmp
$GITHUB_WORKSPACE/haiku/configure --host-only
$GITHUB_WORKSPACE/buildtools/jam/jam0 -j$(nproc) -q '<build>package'
cd $GITHUB_WORKSPACE
zip -j x86_64-linux-package-${{ steps.get_hrev.outputs.hrev }}.zip \
haiku/generated/objects/linux/lib/libroot_build.so \
haiku/generated/objects/linux/lib/libpackage_build.so \
haiku/generated/objects/linux/lib/libbe_build.so \
haiku/generated/objects/linux/x86_64/release/tools/package/package \
/tmp/objects/linux/lib/libroot_build.so \
/tmp/objects/linux/lib/libpackage_build.so \
/tmp/objects/linux/lib/libbe_build.so \
/tmp/objects/linux/x86_64/release/tools/package/package \
haiku/License.md
- name: Upload artifacts
if: steps.get_hrev.outputs.hrev != steps.get_package.outputs.hrev
Expand Down

0 comments on commit 9b9931f

Please sign in to comment.