Skip to content

Commit

Permalink
GitHub Actions CI
Browse files Browse the repository at this point in the history
  • Loading branch information
bhaak committed Mar 20, 2024
1 parent 02b934b commit f812c4e
Showing 1 changed file with 87 additions and 0 deletions.
87 changes: 87 additions & 0 deletions .github/workflows/vilistextum.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
name: Vilistextum CI builds

on:
push:
branches: [ '*' ]
tags: [ '*' ]
pull_request:
branches: [ '*' ]

env:
CFLAGS: '-O2 -Wall -Wextra -fno-common -Werror=format -Wno-format-truncation -Werror=return-type -Werror=uninitialized -Werror=implicit-function-declaration'
LFLAGS: '-fno-common'

jobs:
linux:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: configure
run: "./configure --enable-multibyte"

- name: make
run: make all

- name: install libcheck
run: sudo apt-get install check

- name: make check
run: make check

- name: config.log
uses: actions/upload-artifact@v4
if: always()
with:
name: artifacts
path: |
config.log
disable_multibyte:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: configure
run: "./configure --disable-multibyte"

- name: make
run: make all

- name: install libcheck
run: sudo apt-get install check

- name: make check
run: make check

autogen:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: configure
run: "rm -f ./configure && ./autogen.sh && ./configure --enable-multibyte"

- name: make
run: make all

- name: install libcheck
run: sudo apt-get install check

- name: make check
run: make check

macos:
runs-on: macos-latest

steps:
- uses: actions/checkout@v3

- name: configure
run: "./configure --enable-multibyte"

- name: make
run: make all

0 comments on commit f812c4e

Please sign in to comment.