mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-26 00:02:08 -05:00
Remove mxe GH action
This commit is contained in:
parent
faed480a73
commit
325ed076c0
89
.github/workflows/mxe.yml
vendored
89
.github/workflows/mxe.yml
vendored
@ -1,89 +0,0 @@
|
||||
name: Windows cross build with MXE
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- release-**
|
||||
paths:
|
||||
- 'src/**'
|
||||
- 'external/**'
|
||||
- 'python/**'
|
||||
- 'tests/**'
|
||||
- 'ms-windows/**'
|
||||
- 'CMakeLists.txt'
|
||||
- '.github/workflows/mxe.yml'
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
- release-**
|
||||
paths:
|
||||
- 'src/**'
|
||||
- 'external/**'
|
||||
- 'python/**'
|
||||
- 'tests/**'
|
||||
- 'ms-windows/**'
|
||||
- 'CMakeLists.txt'
|
||||
- '.github/workflows/mxe.yml'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
env:
|
||||
CCACHE_DIR: ${{ github.workspace }}/.ccache
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Build Dockerfile
|
||||
run: |
|
||||
cd ms-windows/mxe
|
||||
docker build -f mxe.Dockerfile --tag mxe-qt5-builder:current .
|
||||
|
||||
- name: Prepare build cache for pull request
|
||||
uses: pat-s/always-upload-cache@v2.1.3
|
||||
if: github.event_name == 'pull_request'
|
||||
with:
|
||||
path: ${{ github.workspace }}/.ccache
|
||||
key: mxe-ccache-${{ github.actor }}-${{ github.head_ref }}-${{ github.sha }}
|
||||
# The head_ref or source branch of the pull request in a workflow run.
|
||||
# The base_ref or target branch of the pull request in a workflow run.
|
||||
restore-keys: |
|
||||
mxe-ccache-${{ github.actor }}-${{ github.head_ref }}-
|
||||
mxe-ccache-${{ github.base_ref }}-
|
||||
mxe-ccache-refs/heads/master-
|
||||
|
||||
- name: Prepare build cache for branch/tag
|
||||
# use a fork of actions/cache@v2 to upload cache even when the build or test failed
|
||||
uses: pat-s/always-upload-cache@v2.1.3
|
||||
if: github.event_name != 'pull_request'
|
||||
with:
|
||||
path: ${{ github.workspace }}/.ccache
|
||||
# The branch or tag ref that triggered the workflow run. For branches this in the format refs/heads/<branch_name>, and for tags it is refs/tags/<tag_name>
|
||||
key: mxe-ccache-${{ github.ref }}-${{ github.sha }}
|
||||
restore-keys: |
|
||||
mxe-ccache-${{ github.ref }}-
|
||||
mxe-ccache-refs/heads/master-
|
||||
|
||||
- name: Cross build with MXE
|
||||
run: |
|
||||
mkdir -p ${{ github.workspace }}/.ccache
|
||||
docker run -v ${GITHUB_WORKSPACE}:/root/QGIS \
|
||||
-w /root/QGIS \
|
||||
--env CCACHE_DIR=/root/QGIS/.ccache \
|
||||
mxe-qt5-builder:current \
|
||||
/root/QGIS/ms-windows/mxe/build-mxe.sh
|
||||
|
||||
- name: Rename artifact
|
||||
run: |
|
||||
cd $GITHUB_WORKSPACE
|
||||
mv qgis-mxe-release-*.zip qgis-mxe-release.zip
|
||||
|
||||
- name: Upload build
|
||||
uses: actions/upload-artifact@v2.2.2
|
||||
with:
|
||||
name: QGIS for Windows 64bit
|
||||
path: qgis-mxe-release.zip
|
||||
|
Loading…
x
Reference in New Issue
Block a user