Skip to content

Commit

Permalink
Add workflow checking that deployed repository can produce "Hello Wor…
Browse files Browse the repository at this point in the history
…ld!" executable
  • Loading branch information
Blackhex committed Feb 7, 2024
1 parent 0e7f163 commit 006d2b4
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/scripts/install-toolchain.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
pacman -Syu --noconfirm

cat "[woarm64]
Server = https://windows-on-arm-experiments.github.io/msys2-woarm64-build/$arch
SigLevel = Optional" >> /etc/pacman.conf

pacman -Sy
pacman -S mingw-w64-cross-gcc
24 changes: 24 additions & 0 deletions .github/workflows/check-repository.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Check MSYS2 repository

on:
workflow_dispatch:

jobs:
check-repository:
runs-on: ubuntu-latest
steps:
- uses: msys2/setup-msys2@v2
with:
msystem: MSYS
location: ${{ github.workspace }}
release: true
update: true
cache: false
install: base-devel

- name: Checkout repository
uses: actions/checkout@v4

- shell: msys2 {0}
run: |
.github/workflows/install-toolchain.sh

0 comments on commit 006d2b4

Please sign in to comment.