minecraft-pi-docker/.gitea/workflows/build.yml

29 lines
803 B
YAML
Raw Normal View History

2023-06-04 03:48:28 +00:00
name: 'Build'
on: push
jobs:
2023-06-04 04:03:15 +00:00
build:
2023-06-04 03:48:28 +00:00
runs-on: ubuntu-latest
2023-06-04 03:53:26 +00:00
container: node:16-buster
2023-06-04 03:48:28 +00:00
steps:
- name: Checkout Repository
uses: actions/checkout@v3
2023-06-04 04:58:26 +00:00
with:
submodules: true
2023-06-04 03:48:28 +00:00
- name: Install CMake
run: |
echo 'deb http://deb.debian.org/debian buster-backports main' > /etc/apt/sources.list.d/backports.list
apt-get update
apt-get install --no-install-recommends -y -t buster-backports cmake
- name: Install Dependencies
run: ./scripts/install-dependencies.sh amd64 armhf arm64
- name: Build
run: |
chmod +x ./scripts/ci/run.sh
./scripts/ci/run.sh
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
path: ./out/**/*.AppImage