summaryrefslogtreecommitdiff
path: root/.gitea/workflows/ci.yml
blob: 2da14e414d1c88f4b8c357fbe535273c24440cf1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
name: ci

on:
  push:
    branches: [main]
  pull_request:

jobs:
  linux:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - run: ./configure && make
      - run: ./mikusays -V && ./mikusays "hi"

  windows-cross:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - run: sudo apt-get update && sudo apt-get install -y gcc-mingw-w64-x86-64
      - run: ./configure --host=x86_64-w64-mingw32 && make