File: msys2.yml

package info (click to toggle)
enca 1.21-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,948 kB
  • sloc: ansic: 10,297; sh: 5,858; xml: 2,132; makefile: 700; perl: 261
file content (31 lines) | stat: -rw-r--r-- 867 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: MSYS2
on: [push, pull_request, workflow_dispatch]

jobs:
  msys2-ucrt64:
    runs-on: windows-latest
    defaults:
      run:
        shell: msys2 {0}
    steps:
      - uses: msys2/setup-msys2@v2
        with:
          msystem: UCRT64
          update: true
          install: git mingw-w64-ucrt-x86_64-gcc mingw-w64-ucrt-x86_64-libiconv mingw-w64-ucrt-x86_64-recode make dos2unix diffutils
      - name: Force windows git to use LF
        shell: pwsh  
        run: | 
            git config --global --add core.autocrlf false
      - uses: actions/checkout@v5      
      - name: Configure build
        run: ./configure --disable-shared
      - name: Build
        run: make -j$(nproc)
      - name: Test
        run: make test
      - name: Test log
        run: cat test/test-suite.log
      - name: Install
        run: make install DESTDIR=/tmp/inst