2024.11.23 release #83
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: Build Basilisk Linux x86_64 | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
- release | |
jobs: | |
build-basilisk: | |
name: Build Basilisk Linux ${{ matrix.config.name }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
config: | |
- name: GTK3 x86_64 | |
gtk: gtk3 | |
arch: x86_64 | |
- name: GTK2 x86_64 | |
gtk: gtk2 | |
arch: x86_64 | |
steps: | |
- name: Free Disk Space | |
run: | | |
sudo apt-get update | |
sudo apt-get remove -y *dotnet* *google-cloud* *aws* *php* google-chrome-stable firefox powershell mono-devel | |
sudo apt-get autoremove -y | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Copy mozconfig | |
run: cp mozconfigs/linux/${{ matrix.config.arch }}/${{ matrix.config.gtk }}_unofficial_branding.mozconfig .mozconfig | |
- name: Update mozconfig for release branch | |
if: github.ref == 'refs/heads/release' | |
run: | | |
sed -i 's/disable-updater/enable-updater/g' .mozconfig | |
sed -i 's/disable-official-branding/enable-official-branding/g' .mozconfig | |
- name: Pull official branding files for release branch | |
if: github.ref == 'refs/heads/release' | |
run: | | |
cd basilisk/branding && git clone https://${{ secrets.RPMO_CLONE_CREDENTIALS }}@repo.palemoon.org/Basilisk-Dev/${{ secrets.OFFICIAL_BRANDING_REPO_NAME }}.git official | |
- name: Update docker build script for release branch | |
if: github.ref == 'refs/heads/release' | |
run: | | |
echo 'su -c "./mach mar" $USERNAME' >> build-scripts/linux/build_basilisk_subscripts/run_inside_docker.sh | |
- name: Build Basilisk | |
run: docker run -v $PWD:/share --rm -e UID=$(id -u) -e GID=$(id -g) -e USERNAME=$(whoami) -e GROUPNAME=$(id -gn) -t oraclelinux:8 /share/build-scripts/linux/build_basilisk_subscripts/run_inside_docker.sh | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: basilisk-linux-${{ matrix.config.arch }}-${{ matrix.config.gtk }} | |
path: obj-${{ matrix.config.arch }}-pc-linux-gnu/dist/basilisk-* |