Proton CI #2
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: Proton CI | |
on: | |
schedule: | |
- cron: '0 0 1 * *' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Download artifact | |
id: download-artifact | |
uses: dawidd6/action-download-artifact@v2 | |
continue-on-error: true | |
with: | |
workflow: bootstraps.yml | |
workflow_conclusion: success | |
path: /opt | |
- name: Build Proton | |
run: | | |
sudo apt update | |
sudo apt install debootstrap perl git wget xz-utils bubblewrap autoconf | |
sudo tar -C /opt -xpf /opt/Bootstraps/bootstraps.tar.xz | |
chmod +x build_wine.sh | |
WINE_BRANCH=proton ./build_wine.sh | |
sha256sum *.tar.xz | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: Proton | |
path: ./*.tar.xz |