forked from hwittenborn/celeste
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
57 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
name: Celeste Binary Generation | ||
|
||
on: | ||
workflow_dispatch | ||
|
||
jobs: | ||
build_amd64: | ||
runs-on: buildjet-4vcpu-ubuntu-2204 | ||
steps: | ||
- uses: actions/[email protected] | ||
|
||
- name: Install needed packages | ||
run: | | ||
sudo rm -rf /var/lib/apt/lists/* | ||
sudo sed -i 's/jammy/.\/devel/g' /etc/apt/sources.list | ||
sudo apt-get update && sudo apt-get install gnupg2 libadwaita-1-dev libatk1.0-dev libcairo2-dev libclang-15-dev libgdk-pixbuf-2.0-dev libglib2.0-dev libgraphene-1.0-dev libgtk-3-dev libgtk-4-dev libpango1.0-dev golang-go pkg-config -y | ||
cargo update -p proc-macro2 | ||
- name: Install Just | ||
uses: taiki-e/install-action@just | ||
|
||
- name: Setup | ||
run: just build && mkdir -p builds/amd64 | ||
|
||
- name: Build | ||
run: DESTDIR="builds/amd64" just install | ||
|
||
- uses: actions/[email protected] | ||
with: | ||
name: Celeste (AMD64) | ||
path: builds/amd64/ | ||
|
||
build_arm64: | ||
runs-on: buildjet-4vcpu-ubuntu-2204-arm | ||
steps: | ||
- uses: actions/[email protected] | ||
|
||
- name: Install needed packages | ||
run: | | ||
sudo rm -rf /var/lib/apt/lists/* | ||
sudo sed -i 's/jammy/.\/devel/g' /etc/apt/sources.list | ||
sudo apt-get update && sudo apt-get install gnupg2 libadwaita-1-dev libatk1.0-dev libcairo2-dev libclang-15-dev libgdk-pixbuf-2.0-dev libglib2.0-dev libgraphene-1.0-dev libgtk-3-dev libgtk-4-dev libpango1.0-dev golang-go pkg-config -y | ||
cargo update -p proc-macro2 | ||
- name: Install Just | ||
uses: taiki-e/install-action@just | ||
|
||
- name: Setup | ||
run: just build && mkdir -p builds/arm64 | ||
|
||
- name: Build | ||
run: DESTDIR="builds/arm64" just install | ||
|
||
- uses: actions/[email protected] | ||
with: | ||
name: Celeste (ARM64) | ||
path: builds/arm64/ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.