Skip to content

Commit

Permalink
Use actions instead of appveyor
Browse files Browse the repository at this point in the history
  • Loading branch information
dz333n authored Apr 7, 2024
1 parent c9e1bd1 commit c812d35
Show file tree
Hide file tree
Showing 5 changed files with 73 additions and 21 deletions.
50 changes: 50 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

name: build

on:
push:
branches: ["master"]
pull_request:
branches: ["master"]

env:
# Path to the solution file relative to the root of the project.
SOLUTION_FILE_PATH: .

permissions:
contents: read

jobs:
build:
runs-on: windows-latest

strategy:
matrix:
configuration: [Release, Debug]
platform: [x86, ARM]

steps:
- uses: actions/checkout@v3

- name: Add MSBuild to PATH
uses: microsoft/[email protected]

- name: Restore NuGet packages
working-directory: ${{env.GITHUB_WORKSPACE}}
run: nuget restore ${{env.SOLUTION_FILE_PATH}}

- name: Build
working-directory: ${{env.GITHUB_WORKSPACE}}
# Add additional options to the MSBuild command line here (like platform or verbosity level).
# See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference
run: msbuild /m /p:Configuration=${{matrix.configuration}} /p:Platform=${{matrix.platform}} ${{env.SOLUTION_FILE_PATH}}

- name: Upload Artifcats
uses: actions/upload-artifact@v4
with:
name: wcecl-build-${{matrix.configuration}}-${{matrix.platform}}
path: ${{env.SOLUTION_FILE_PATH}}/build/
4 changes: 2 additions & 2 deletions COREDLL/Exports.def
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ EXPORTS
_CxxThrowException @1551
type_info @1580
ShellExecuteEx=ShellExecuteEx_WCECL @480
_vsnwprintf @1132
; _vsnwprintf @1132
CeLogSetZones @1452
CeLogReSync @1467
terminate=terminate_WCECL @1556
Expand All @@ -57,7 +57,7 @@ EXPORTS
TlsCall=TlsCall_WCECL @520
longjmp @1036
_allmul=_allmul_WCECL @2002
vswprintf @1099
; vswprintf @1099
wcsrchr @69
_alloca_probe @2010
wcscpy @61
Expand Down
25 changes: 16 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
# Windows CE Compatibility Layer [![Build status](https://ci.appveyor.com/api/projects/status/93fytq537hcb2nw9?svg=true)](https://ci.appveyor.com/project/dz333n/wcecl)
### WinCE API Wrapper
# Windows CE Compatibility Layer (WCECL)

[Watch YouTube video](https://youtu.be/igz8mekvr8A)
![Improvised Logo](logo.png)

# What is this?
This library is designed to wrap Windows CE API using Win32 functions. This allows to run Windows CE executables in Win32 environment. Visit our [wiki](https://github.com/feel-the-dz3n/wcecl/wiki) for details.
Use WCECL to run original Windows CE applications on desktop Windows.

# Credits
- Created by [Yaroslav Kibysh / Dz3n](https://github.com/feel-the-dz3n)
- [Nikita Ivanov / osdever](https://github.com/osdeverr)
- Special thanks to [Stanislav Motylkov / Stas'M](https://github.com/binarymaster), who inspired me to make this.
## This project includes

- **COREDLL**: a library that wraps Windows CE APIs and redirects calls to desktop Win32 APIs
- **SubsystemTool**: a program that allows you to modify subsystem attributes in portable executables (.EXEs)

⚠️ The project is at an early stage of development. Only one application has been confirmed to work so far.

Visit project [wiki](https://github.com/dz333n/wcecl/wiki) for details.

## Downloads

Open workflow status link below and download the artifacts from the "Upload Artifacts" section for your desired configuration and platform.

[![build](https://github.com/dz333n/wcecl/actions/workflows/build.yml/badge.svg)](https://github.com/dz333n/wcecl/actions/workflows/build.yml)
15 changes: 5 additions & 10 deletions WinCeCompatLayer.sln
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.28307.329
# Visual Studio Version 17
VisualStudioVersion = 17.9.34723.18
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "COREDLL", "COREDLL\COREDLL.vcxproj", "{7AC1A661-7B3C-4C08-B41E-FE26C13AEC8B}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "CoredllTest", "CoredllTest\CoredllTest.vcxproj", "{DE9AEC50-51BF-4229-AA7E-16DB683B84B5}"
ProjectSection(ProjectDependencies) = postProject
{7AC1A661-7B3C-4C08-B41E-FE26C13AEC8B} = {7AC1A661-7B3C-4C08-B41E-FE26C13AEC8B}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SubsystemTool", "SubsystemTool\SubsystemTool.vcxproj", "{FADF7D2C-7303-4FD3-A615-95A3D30FEB0A}"
EndProject
Expand Down Expand Up @@ -41,14 +44,6 @@ Global
{FADF7D2C-7303-4FD3-A615-95A3D30FEB0A}.Release|ARM.Build.0 = Release|ARM
{FADF7D2C-7303-4FD3-A615-95A3D30FEB0A}.Release|x86.ActiveCfg = Release|Win32
{FADF7D2C-7303-4FD3-A615-95A3D30FEB0A}.Release|x86.Build.0 = Release|Win32
{8B67E920-022B-4AF8-A79D-F27DC7FFEF87}.Debug|ARM.ActiveCfg = Debug|Any CPU
{8B67E920-022B-4AF8-A79D-F27DC7FFEF87}.Debug|ARM.Build.0 = Debug|Any CPU
{8B67E920-022B-4AF8-A79D-F27DC7FFEF87}.Debug|x86.ActiveCfg = Debug|Any CPU
{8B67E920-022B-4AF8-A79D-F27DC7FFEF87}.Debug|x86.Build.0 = Debug|Any CPU
{8B67E920-022B-4AF8-A79D-F27DC7FFEF87}.Release|ARM.ActiveCfg = Release|Any CPU
{8B67E920-022B-4AF8-A79D-F27DC7FFEF87}.Release|ARM.Build.0 = Release|Any CPU
{8B67E920-022B-4AF8-A79D-F27DC7FFEF87}.Release|x86.ActiveCfg = Release|Any CPU
{8B67E920-022B-4AF8-A79D-F27DC7FFEF87}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
Binary file added logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c812d35

Please sign in to comment.