forked from fwbuilder/fwbuilder
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (35 loc) · 924 Bytes
/
w32-mxe.yml
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
30
31
32
33
34
35
36
37
name: w32-mxe
on: [push]
jobs:
release-build:
runs-on: ubuntu-latest
strategy:
matrix:
config:
- {
id: "mxe-qt-5.15",
name: "MXE Qt 5.15",
docker_image: "fwbuilder/mxe:qt-5.15"
}
container:
image: ${{ matrix.config.docker_image }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Compilation cache
uses: actions/cache@v2
with:
path: ~/.ccache
key: ${{ matrix.config.id }}-ccache-${{ github.sha }}
restore-keys: |
${{ matrix.config.id }}-ccache
- name: Configure
run: |
export PATH=$PATH:/opt/mxe/usr/bin
mkdir -p build && cd build
i686-w64-mingw32.shared-cmake ..
- name: Build
run: |
export PATH=$PATH:/opt/mxe/usr/bin
cd build
make -j$(nproc)