mirror of
https://github.com/x-tools-author/x-tools.git
synced 2025-09-15 15:28:40 +08:00
chore: do nothing
This commit is contained in:
parent
4e84a744c1
commit
7124cde425
30
.github/workflows/build-docker-windows.yml
vendored
30
.github/workflows/build-docker-windows.yml
vendored
@ -15,31 +15,21 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Pull respository
|
- name: Pull respository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
# - name: Install Qt(android)
|
- name: Install Qt
|
||||||
# uses: jurplel/install-qt-action@v4
|
uses: jurplel/install-qt-action@v3
|
||||||
# with:
|
with:
|
||||||
# aqtversion: '==3.1.*'
|
aqtversion: '==3.1.*'
|
||||||
# target: android
|
dir: ${{ github.workspace }}
|
||||||
# arch: android_armv7
|
version: ${{ env.QT_VERSION }}
|
||||||
# host: linux
|
target: desktop
|
||||||
# dir: ${{ github.workspace }}
|
arch: win64_msvc2022_64
|
||||||
# modules: ${{env.QT_MODULES}}
|
modules: ${{ env.QT_MODULES }}
|
||||||
# version: ${{ env.QT_VERSION }}
|
|
||||||
# - name: Install Qt(linux_gcc_64)
|
|
||||||
# uses: jurplel/install-qt-action@v4
|
|
||||||
# with:
|
|
||||||
# aqtversion: '==3.1.*'
|
|
||||||
# target: desktop
|
|
||||||
# arch: linux_gcc_64
|
|
||||||
# host: linux
|
|
||||||
# dir: ${{ github.workspace }}
|
|
||||||
# modules: ${{env.QT_MODULES}}
|
|
||||||
# version: ${{ env.QT_VERSION }}
|
|
||||||
- name: Build docker image
|
- name: Build docker image
|
||||||
run: | #https://github.com/actions/runner-images/blob/main/images/windows/Windows2022-Readme.md
|
run: | #https://github.com/actions/runner-images/blob/main/images/windows/Windows2022-Readme.md
|
||||||
docker build -t x-tools-windows-2022:amd64 . -f docker/win-ltsc2022/Dockerfile
|
docker build -t x-tools-windows-2022:amd64 . -f docker/win-ltsc2022/Dockerfile
|
||||||
- name: Push docker image to github registry
|
- name: Push docker image to github registry
|
||||||
run: |
|
run: |
|
||||||
|
dir c:
|
||||||
echo ${{ env.CR_PAT }} | docker login ghcr.io -u ${{ github.actor }} --password-stdin
|
echo ${{ env.CR_PAT }} | docker login ghcr.io -u ${{ github.actor }} --password-stdin
|
||||||
docker rmi ghcr.io/x-tools-author/x-tools-windows-2022:amd64 || true
|
docker rmi ghcr.io/x-tools-author/x-tools-windows-2022:amd64 || true
|
||||||
docker tag x-tools-windows-2022:amd64 ghcr.io/x-tools-author/x-tools-windows-2022:amd64
|
docker tag x-tools-windows-2022:amd64 ghcr.io/x-tools-author/x-tools-windows-2022:amd64
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
FROM mcr.microsoft.com/windows/nanoserver:ltsc2022
|
FROM mcr.microsoft.com/windows/nanoserver:ltsc2022
|
||||||
|
|
||||||
# Install CMake 3.30.8 to C:\Tools\CMake
|
# Copy Qt to Container
|
||||||
|
COPY Qt C:\Qt
|
||||||
Loading…
Reference in New Issue
Block a user