Rename Windows_10 to Windows_1X #97
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
name: Windows | |
on: | |
push: | |
branches: [ "devel", "testing", "stable", "LTS" ] | |
paths: | |
- '*.ps1' | |
- 'CommonInitScripts/**.ps1' | |
- 'Windows_10/**.ps1' | |
- '.github/workflows/windows.yml' | |
pull_request: | |
branches: [ "devel", "testing", "stable", "LTS" ] | |
jobs: | |
build: | |
name: ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: ["windows-2022", "windows-latest"] # TODO add a newer runner when available | |
# TODO make this a single runner when windows-latest is the same as windows-2022 | |
steps: | |
- name: "checkout repo" | |
uses: actions/checkout@v4 | |
- name: Install winget | |
uses: Cyberboss/install-winget@v1 | |
- name: "Test `winget` installation" | |
shell: pwsh | |
run: winget | |
- name: "Run `packages_install.ps1` separately (so that it does not pollute logs)" | |
shell: pwsh | |
run: .\Windows_10\packages_install.ps1 | |
- name: "Run `run_all.ps1`" | |
shell: pwsh | |
run: .\Windows_10\run_all.ps1 | |
- name: Install optional packages | |
shell: pwsh | |
run: .\Windows_10\optional_packages_install.ps1 | |
# TODO add idempotence test |