Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 14 additions & 7 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@ jobs:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2

# Remove Strawberry
# Strawberry is added by default to the PATH environmment, and it happens
# that the Meson inconveniently preffer its packages over those installed
# with vcpkg, so we just rename Strawberry folder so it can't be found.
- name: Remove Strawberry
run: mv C:\Strawberry C:\Strawberry.disabled

- name: Cache LLVM install
uses: actions/cache@v2
id: cache-llvm
Expand Down Expand Up @@ -98,14 +106,12 @@ jobs:
run: echo "::add-path::${{ github.workspace }}/vcpkg/installed/x64-windows/bin"
- name: Add vcpkg installed package dirs to path (debug libs)
run: echo "::add-path::${{ github.workspace }}/vcpkg/installed/x64-windows/debug/bin"
- name: configure
run: .\configure.bat
env:
vcpkg_toolchain_file: ${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake
- name: Configure
run: meson build --native-file platforms/windows-native.txt --native-file platforms/windows-ci-custom-native-properties.txt
- name: Build
run: .\build.bat
run: meson compile -C build
- name: Upload artifact
uses: actions/upload-artifact@v1.0.0
uses: actions/upload-artifact@v2
with:
name: build
path: build
Expand Down Expand Up @@ -140,9 +146,10 @@ jobs:
- name: Test meson
run: meson -v
- name: Download build artifact
uses: actions/download-artifact@v1.0.0
uses: actions/download-artifact@v2
with:
name: build
path: build
- name: Check directory tree (for debugging purposes)
run: tree .
- name: Add vcpkg installed package dirs to path
Expand Down
5 changes: 5 additions & 0 deletions platforms/windows-ci-custom-native-properties.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[properties]
cmake_toolchain_file = 'D:/a/efl/efl/vcpkg/scripts/buildsystems/vcpkg.cmake'

[project options]
buildtype = 'debug'
4 changes: 2 additions & 2 deletions platforms/windows-native.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ libmount = 'false'
evas-loaders-disabler = 'gst,pdf,ps,raw,svg,rsvg,xcf,bmp,dds,generic,gif,ico,jp2k,pmaps,psd,tga,tgv,tiff,wbmp,webp,xpm,json'
opengl = 'none'
emotion-loaders-disabler = 'gstreamer1,libvlc,xine'
bindings=
bindings = ''

[properties]
[built-in options]
c_args = common_flags
cpp_args = common_flags