Skip to content

Commit

Permalink
Update build_for_x86-noble.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelscholle committed Jun 14, 2024
1 parent 70803ed commit 8cf0d4a
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions .github/workflows/build_for_x86-noble.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,23 +30,28 @@ jobs:
submodules: recursive
- name: Building OpenHD in CHROOT
run: |
git clone https://github.com/OpenHD/ChrootCompilationTest /opt/ChrootCompilationTest
mkdir -p /opt/ChrootCompilationTest/additionalFiles
git clone https://github.com/OpenHD/rtl8812au -b ${{ github.ref_name }} /opt/ChrootCompilationTest/additionalFiles/ --recursive
echo $CLOUDSMITH_API_KEY > /opt/ChrootCompilationTest/additionalFiles/cloudsmith_api_key.txt
echo "AMD64" > /opt/ChrootCompilationTest/additionalFiles/arch.txt
echo "ubuntu" > /opt/ChrootCompilationTest/additionalFiles/distro.txt
echo "noble" > /opt/ChrootCompilationTest/additionalFiles/flavor.txt
echo "${{ github.ref_name }}" > /opt/ChrootCompilationTest/additionalFiles/repo.txt
git clone https://github.com/OpenHD/OpenHD-ChrootCompiler /opt/OpenHD-ChrootCompiler
mkdir -p /opt/OpenHD-ChrootCompiler/additionalFiles
git clone https://github.com/OpenHD/rtl8812au -b ${{ github.ref_name }} /opt/OpenHD-ChrootCompiler/additionalFiles/ --recursive
echo $CLOUDSMITH_API_KEY > /opt/OpenHD-ChrootCompiler/additionalFiles/cloudsmith_api_key.txt
echo "AMD64" > /opt/OpenHD-ChrootCompiler/additionalFiles/arch.txt
echo "ubuntu" > /opt/OpenHD-ChrootCompiler/additionalFiles/distro.txt
echo "noble" > /opt/OpenHD-ChrootCompiler/additionalFiles/flavor.txt
echo "${{ github.ref_name }}" > /opt/OpenHD-ChrootCompiler/additionalFiles/repo.txt
cd /opt/ChrootCompilationTest/
cd /opt/OpenHD-ChrootCompiler/
sudo apt update
apt install -y python3-pip
pip install cloudsmith-api --break-system-packages
pip install cloudsmith-cli --break-system-packages
sudo bash install_dep.sh
sudo bash ./build.sh x86-minimal $API_KEY ubuntu noble
- name: debug
run:
ls -a *
cp -r /opt/OpenHD-ChrootCompiler/out/* .


- name: Upload to Github
uses: 'actions/upload-artifact@v2'
Expand Down

0 comments on commit 8cf0d4a

Please sign in to comment.