mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2025-12-15 19:48:42 +00:00
Added docker CI/CD job
This commit is contained in:
parent
6866c01524
commit
a34ad3bff8
4
.ci/docker.sh
Executable file
4
.ci/docker.sh
Executable file
@ -0,0 +1,4 @@
|
||||
mkdir build
|
||||
|
||||
docker build -f docker/azahar-room/Dockerfile -t azahar-room .
|
||||
docker save azahar-room:latest > build/azahar-room.dockerimage
|
||||
25
.github/workflows/build.yml
vendored
25
.github/workflows/build.yml
vendored
@ -22,6 +22,7 @@ jobs:
|
||||
with:
|
||||
name: source
|
||||
path: artifacts/
|
||||
|
||||
linux:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
@ -61,6 +62,7 @@ jobs:
|
||||
with:
|
||||
name: ${{ env.OS }}-${{ env.TARGET }}
|
||||
path: artifacts/
|
||||
|
||||
macos:
|
||||
runs-on: ${{ (matrix.target == 'x86_64' && 'macos-15-intel') || 'macos-26' }}
|
||||
strategy:
|
||||
@ -102,6 +104,7 @@ jobs:
|
||||
with:
|
||||
name: ${{ env.OS }}-${{ env.TARGET }}
|
||||
path: artifacts/
|
||||
|
||||
macos-universal:
|
||||
runs-on: macos-26
|
||||
needs: macos
|
||||
@ -133,6 +136,7 @@ jobs:
|
||||
with:
|
||||
name: ${{ env.OS }}-${{ env.TARGET }}
|
||||
path: artifacts/
|
||||
|
||||
windows:
|
||||
runs-on: windows-latest
|
||||
strategy:
|
||||
@ -210,6 +214,7 @@ jobs:
|
||||
with:
|
||||
name: ${{ env.OS }}-${{ env.TARGET }}
|
||||
path: artifacts/
|
||||
|
||||
android:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
@ -261,3 +266,23 @@ jobs:
|
||||
with:
|
||||
name: ${{ env.OS }}-${{ env.TARGET }}
|
||||
path: src/android/app/artifacts/
|
||||
|
||||
docker:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: docker:dind
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: recursive
|
||||
- name: Build Docker image
|
||||
run: ./.ci/docker.sh
|
||||
- name: Move Docker image to artifacts directory
|
||||
run: |
|
||||
mkdir -p artifacts
|
||||
mv build/*.dockerimage artifacts/
|
||||
- name: Upload
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: docker
|
||||
path: artifacts/
|
||||
3
.gitignore
vendored
3
.gitignore
vendored
@ -10,6 +10,9 @@ src/installer/*.exe
|
||||
src/common/scm_rev.cpp
|
||||
.travis.descriptor.json
|
||||
|
||||
# Docker image files
|
||||
*.dockerimage
|
||||
|
||||
# Project/editor files
|
||||
*.swp
|
||||
*.kdev4
|
||||
|
||||
Loading…
Reference in New Issue
Block a user