meta: add distrib script and Gh action #5
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: Nightly Build | ||
on: [push] | ||
jobs: | ||
ubuntu: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- name: Set up Python | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: '3.11' | ||
- name: Install dependencies | ||
run: | | ||
sudo apt-get update -y && \ | ||
sudo apt-get install -y build-essential git ninja-build nasm gcc-multilib | ||
sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)" llvm 18 | ||
- name: Build | ||
run: | | ||
./build.sh dist | ||
- name: Upload binaries | ||
uses: skx/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
releaseId: ${{ needs.create_release.outputs.id }} | ||
rgs: '.cutekit/dist/*' |