forked from gup4win/wingup
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Close gup4win#46
- Loading branch information
Showing
8 changed files
with
99 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for all configuration options: | ||
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
|
||
version: 2 | ||
updates: | ||
|
||
# Maintain dependencies for GitHub Actions | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "monthly" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
name: CI_build | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: windows-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
build_platform: [x64, x86, ARM64] | ||
|
||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v3 | ||
|
||
- name: Add msbuild to PATH | ||
uses: microsoft/setup-msbuild@v1 | ||
|
||
- name: Add nmake | ||
if: matrix.build_platform == 'ARM64' | ||
uses: ilammy/msvc-dev-cmd@v1 | ||
with: | ||
arch: amd64_arm64 | ||
|
||
- name: Add nmake | ||
if: matrix.build_platform == 'x64' || matrix.build_platform == 'x86' | ||
uses: ilammy/msvc-dev-cmd@v1 | ||
with: | ||
arch: ${{ matrix.build_platform }} | ||
|
||
- name: nmake libcurl | ||
working-directory: curl/winbuild | ||
run: | | ||
nmake /f Makefile.vc mode=dll vc=15 RTLIBCFG=static MACHINE="${{ matrix.build_platform }}" | ||
nmake /f Makefile.vc mode=dll vc=15 RTLIBCFG=static DEBUG=yes MACHINE="${{ matrix.build_platform }}" | ||
- name: MSBuild of GUP exe | ||
working-directory: vcproj | ||
run: | | ||
msbuild GUP.sln /m /p:configuration="Release" /p:platform="${{ matrix.build_platform }}" | ||
msbuild GUP.sln /m /p:configuration="Debug" /p:platform="${{ matrix.build_platform }}" | ||
- name: Archive artifacts for x64 | ||
if: matrix.build_platform == 'x64' | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: gup_exe_x64 | ||
path: bin64\ | ||
|
||
- name: Archive artifacts for x86 | ||
if: matrix.build_platform == 'x86' | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: gup_exe_x86 | ||
path: bin\ | ||
|
||
- name: Archive artifacts for ARM64 | ||
if: matrix.build_platform == 'ARM64' | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: gup_exe_arm64 | ||
path: binarm64\ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters