Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
Blackhex committed Feb 7, 2024
1 parent 1658373 commit 613278f
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 11 deletions.
10 changes: 8 additions & 2 deletions .github/scripts/install-toolchain.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
#!/bin/bash

set -e # exit on error
set -x # echo on
set -o pipefail # fail of any command in pipeline is an error

pacman -Syu --noconfirm

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

pacman -Sy
Expand Down
22 changes: 13 additions & 9 deletions .github/workflows/check-repository.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,25 @@ on:
workflow_dispatch:

jobs:
check-repository:
runs-on: ubuntu-latest
build:
runs-on: windows-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}
- name: Install toolchain
shell: msys2 {0}
run: |
.github/workflows/install-toolchain.sh
`cygpath "${{ github.workspace }}"`/.github/scripts/install-toolchain.sh
test:
needs: [build]
runs-on: [Windows, GCC, ARM64]

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

0 comments on commit 613278f

Please sign in to comment.