Skip to content

Commit

Permalink
CI: libarchive continuous build
Browse files Browse the repository at this point in the history
Ubuntu, MacOS and Windows (MinGW+MSVC) via GitHub actions
FreeBSD via Cirrus CI
  • Loading branch information
mmatuska committed Nov 6, 2024
1 parent 6084b25 commit dbffc13
Show file tree
Hide file tree
Showing 12 changed files with 334 additions and 418 deletions.
27 changes: 27 additions & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
env:
CIRRUS_CLONE_DEPTH: 1
ARCH: amd64

FreeBSD_task:
matrix:
env:
BS: autotools
env:
BS: cmake
matrix:
freebsd_instance:
image_family: freebsd-13-2
freebsd_instance:
image_family: freebsd-12-4
prepare_script:
- ./ci/cirrus_ci/freebsd.sh
autogen_script:
- ./ci/ci.sh -a autogen
configure_script:
- ./ci/ci.sh -a configure
build_script:
- ./ci/ci.sh -a build
test_script:
- ./ci/ci.sh -a test
install_script:
- ./ci/ci.sh -a install
163 changes: 0 additions & 163 deletions .github/workflows/ci.yml

This file was deleted.

32 changes: 0 additions & 32 deletions .github/workflows/freebsd.yml

This file was deleted.

93 changes: 93 additions & 0 deletions .github/workflows/la-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
name: CI

on: [push, pull_request]

jobs:
MacOS:
runs-on: macos-latest
strategy:
matrix:
bs: [autotools, cmake]
steps:
- uses: actions/checkout@master
- name: Install dependencies
run: ./ci/github_actions/macos.sh
- name: Autogen
run: ./ci/ci.sh -a autogen
env:
BS: ${{ matrix.bs }}
- name: Configure
run: ./ci/ci.sh -a configure
env:
BS: ${{ matrix.bs }}
- name: Build
run: ./ci/ci.sh -a build
env:
BS: ${{ matrix.bs }}
- name: Test
run: ./ci/ci.sh -a test
env:
BS: ${{ matrix.bs }}
SKIP_OPEN_FD_ERR_TEST: 1
- name: Install
run: ./ci/ci.sh -a install
env:
BS: ${{ matrix.bs }}

Ubuntu:
runs-on: ubuntu-latest
strategy:
matrix:
bs: [autotools, cmake]
steps:
- uses: actions/checkout@master
- name: Install dependencies
run: sudo apt-get install -y build-essential cmake debhelper autoconf automake libtool gettext po4a doxygen
- name: Autogen
run: ./ci/ci.sh -a autogen
env:
BS: ${{ matrix.bs }}
- name: Configure
run: ./ci/ci.sh -a configure
env:
BS: ${{ matrix.bs }}
- name: Build
run: ./ci/ci.sh -a build
env:
BS: ${{ matrix.bs }}
- name: Test
run: ./ci/ci.sh -a test
env:
BS: ${{ matrix.bs }}
- name: Install
run: ./ci/ci.sh -a install
env:
BS: ${{ matrix.bs }}

Windows:
runs-on: windows-latest
strategy:
matrix:
be: [mingw-gcc, msvc]
steps:
- uses: actions/checkout@master
- name: Configure
run: ./ci/github_actions/ci.cmd configure
shell: cmd
env:
BE: ${{ matrix.be }}
- name: Build
run: ./ci/github_actions/ci.cmd build
shell: cmd
env:
BE: ${{ matrix.be }}
- name: Test
run: ./ci/github_actions/ci.cmd test
shell: cmd
env:
BE: ${{ matrix.be }}
- name: Install
run: ./ci/github_actions/ci.cmd install
shell: cmd
env:
BE: ${{ matrix.be }}
32 changes: 0 additions & 32 deletions .github/workflows/netbsd.yml

This file was deleted.

35 changes: 0 additions & 35 deletions .github/workflows/openbsd.yml

This file was deleted.

Loading

0 comments on commit dbffc13

Please sign in to comment.