mercurial: Update to 6.8.2 #5671
Workflow file for this run
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: main | |
concurrency: | |
group: ${{ github.ref }} | |
cancel-in-progress: true | |
on: | |
push: | |
pull_request: | |
jobs: | |
build: | |
if: ${{ github.event_name != 'push' || github.ref != 'refs/heads/master'}} | |
strategy: | |
fail-fast: false | |
matrix: | |
include: [ | |
{ msystem: MSYS, runner: windows-2022 }, | |
] | |
name: ${{ matrix.msystem }} | |
runs-on: ${{ matrix.runner }} | |
steps: | |
- name: Get CPU Name | |
run : | | |
Get-CIMInstance -Class Win32_Processor | Select-Object -Property Name | |
- name: Configure Pagefile | |
if: ${{ matrix.msystem != 'CLANGARM64' }} | |
# https://github.com/al-cheb/configure-pagefile-action/issues/16 | |
continue-on-error: true | |
uses: al-cheb/configure-pagefile-action@v1.4 | |
with: | |
minimum-size: 4GB | |
maximum-size: 16GB | |
disk-root: "C:" | |
- uses: actions/checkout@v4 | |
with: | |
path: temp | |
fetch-depth: 0 | |
filter: blob:none | |
persist-credentials: false | |
# to match the autobuild environment | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
architecture: 'x64' | |
- uses: msys2/setup-msys2@v2 | |
with: | |
msystem: ${{ matrix.msystem }} | |
install: git python base-devel | |
update: true | |
- name: Add staging repo | |
shell: msys2 {0} | |
run: | | |
sed -i '1s|^|[staging]\nServer = https://repo.msys2.org/staging/\nSigLevel = Never\n|' /etc/pacman.conf | |
- name: Update using staging | |
run: | | |
msys2 -c 'pacman --noconfirm -Suuy' | |
msys2 -c 'pacman --noconfirm -Suu' | |
- name: Move Checkout | |
run: | | |
If (Test-Path "C:\_") { rm -r -fo "C:\_" } | |
Copy-Item -Path ".\temp" -Destination "C:\_" -Recurse | |
- name: CI-Build | |
shell: msys2 {0} | |
run: | | |
cd /C/_ | |
./.ci/ci-build.sh | |
- name: "Upload binaries" | |
if: ${{ !cancelled() }} | |
uses: actions/upload-artifact@v4 | |
with: | |
name: ${{ matrix.msystem }}-packages | |
path: C:/_/artifacts/*.pkg.tar.* | |
package-grokker: | |
runs-on: ubuntu-latest | |
needs: build | |
steps: | |
- uses: actions/download-artifact@v4 | |
id: artifacts | |
continue-on-error: true | |
with: | |
name: MSYS-packages | |
path: artifacts | |
- name: Grok packages | |
uses: jeremyd2019/package-grokker/grok-artifacts@main | |
if: steps.artifacts.outcome == 'success' | |
with: | |
repo: msys | |
path: artifacts |