2024-02-07 15:03:52 +08:00
|
|
|
name: CI
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ main ]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build_on_windows:
|
|
|
|
runs-on: windows-latest
|
|
|
|
|
|
|
|
steps:
|
2024-02-07 15:07:04 +08:00
|
|
|
- name: Checkout repository
|
|
|
|
uses: actions/checkout@v2
|
2024-02-07 15:03:52 +08:00
|
|
|
|
|
|
|
- name: Install dependencies
|
|
|
|
run: |
|
|
|
|
pacman -Syu --noconfirm
|
|
|
|
pacman -S --noconfirm mingw-w64-ucrt-x86_64-toolchain
|
|
|
|
echo "C:\msys64\mingw64\bin" >> $GITHUB_PATH
|
|
|
|
|
|
|
|
- name: Build
|
|
|
|
run: mingw32-make win32
|
|
|
|
|
|
|
|
- name: Upload artifact
|
|
|
|
uses: actions/upload-artifact@v2
|
|
|
|
with:
|
|
|
|
name: ncmdump-artifacts
|
|
|
|
path: ncmdump.exe
|