-
Notifications
You must be signed in to change notification settings - Fork 277
29 lines (27 loc) · 847 Bytes
/
Copy pathbuild-linux.yml
File metadata and controls
29 lines (27 loc) · 847 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Linux CI
on: [push, pull_request]
jobs:
build-linux:
name: Build Linux
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build Docker image
uses: docker/build-push-action@v5
with:
context: Packaging/AppImage/docker
platforms: linux/amd64
tags: build-vkquake
load: true
push: false
cache-from: type=gha
cache-to: type=gha
- name: Build vkQuake
run: docker run --rm --privileged -e VERSION=${GITHUB_SHA::8} -v "$PWD:/usr/src/vkQuake" build-vkquake /usr/src/vkQuake/Packaging/AppImage/run-in-docker.sh
- name: Upload vkQuake
uses: actions/upload-artifact@v4
with:
name: vkQuake archive
path: Packaging/AppImage/*.tar.gz