Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GitHub: Created a build script for CI/CD #16899

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

0x5bfa
Copy link
Member

@0x5bfa 0x5bfa commented Mar 5, 2025

Resolved / Related Issues

  • Created a centralized build script

Steps used to test these changes

  1. Merge this PR
  2. Run CD to test it (CI can be tested within this PR)

@0x5bfa 0x5bfa marked this pull request as ready for review March 5, 2025 14:07
@0x5bfa 0x5bfa changed the title GitHub: Improved CI and CD GitHub: Created a build script for CI/CD Mar 6, 2025
@0x5bfa 0x5bfa force-pushed the 5bfa/GH-RefactorCD branch from c1adfa8 to 258e1ba Compare March 8, 2025 13:06
@0x5bfa 0x5bfa force-pushed the 5bfa/GH-RefactorCD branch from 258e1ba to 0c8efc2 Compare March 8, 2025 13:12
Comment on lines -215 to +202
- name: Install Files
- name: Prepare for the tests
shell: powershell
run: |
Set-Location "$env:APPX_PACKAGE_DIR"
$AppxPackageBundleDir = Get-ChildItem -Filter Files.Package_*_Test -Name
Set-Location $AppxPackageBundleDir
./Install.ps1 -Force
Get-AppxPackage

- name: Set full HD resolution
run: Set-DisplayResolution -Width 1920 -Height 1080 -Force

- name: Start WinAppDriver process
shell: pwsh
run: Start-Process -FilePath "$env:WINAPPDRIVER_EXE86_PATH"
Set-DisplayResolution -Width 1920 -Height 1080 -Force
Start-Process -FilePath "$env:WINAPPDRIVER_EXE86_PATH"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you merge these into one step?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because I thought they hardly would fail and merging them would not harm us, rather, it contributes to having less lines of code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants