Skip to content

Commit

Permalink
Workflows update.
Browse files Browse the repository at this point in the history
  • Loading branch information
dreibh committed Nov 11, 2023
1 parent 43aef5a commit b109f7c
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 29 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/freebsd.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# GitHub Actions Scripts
# Copyright (C) 2021-2023 by Thomas Dreibholz
# Copyright (C) 2021-2024 by Thomas Dreibholz
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -33,21 +33,23 @@ jobs:
matrix:
include:

# ====== FreeBSD 13.0 =============================================
- label: "FreeBSD 13.0: Clang/x86_64"
# ====== FreeBSD 13.2 =============================================
- label: "FreeBSD 13.2: Clang/x86_64"
release: 13.2
cc: clang
cxx: clang++


# ###### Build commands #################################################
name: ${{ matrix.label }}
runs-on: macos-10.15
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Test in FreeBSD
id: test
uses: vmactions/freebsd-vm@v0.1.5
uses: vmactions/freebsd-vm@v1
with:
release: ${{ matrix.release }}
usesh: true
run: |
ASSUME_ALWAYS_YES=yes pkg install -y bash
Expand Down
13 changes: 5 additions & 8 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# GitHub Actions Scripts
# Copyright (C) 2021-2023 by Thomas Dreibholz
# Copyright (C) 2021-2024 by Thomas Dreibholz
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -45,10 +45,6 @@ jobs:
image: ubuntu:18.04
cc: gcc
cxx: g++
- label: "Ubuntu 16.04 (Xenial Xerus) with GCC"
image: ubuntu:16.04
cc: gcc
cxx: g++

# ====== Debian Linux =============================================
- label: "Debian 12 (Bookworm) with GCC"
Expand All @@ -65,11 +61,11 @@ jobs:
cxx: g++

# ====== Fedora Linux =============================================
- label: "Fedora 35 with Clang"
- label: "Fedora 39 with Clang"
image: fedora:35
cc: clang
cxx: clang++
- label: "Fedora 34 with Clang"
- label: "Fedora 38 with Clang"
image: fedora:34
cc: clang
cxx: clang++
Expand All @@ -81,7 +77,8 @@ jobs:
container:
image: ${{ matrix.image }}
steps:
- uses: actions/checkout@v2
# NOTE: actions/checkout@v4 does not work for old Ubuntu 18.04!
- uses: actions/checkout@v3
- name: Build
shell: bash
run: |
Expand Down
24 changes: 13 additions & 11 deletions .github/workflows/multiarch.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# GitHub Actions Scripts
# Copyright (C) 2021-2023 by Thomas Dreibholz
# Copyright (C) 2021-2024 by Thomas Dreibholz
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -33,19 +33,19 @@ jobs:
include:

# ====== Ubuntu Linux =============================================
- label: "Ubuntu 20.04 (Focal Fossa): Clang/ARMv8"
- label: "Ubuntu 22.04 (Focal Fossa): Clang/ARMv8"
arch: aarch64
distro: ubuntu20.04
distro: ubuntu22.04
cc: clang
cxx: clang++
- label: "Ubuntu 20.04 (Focal Fossa): GCC/S390x"
- label: "Ubuntu 22.04 (Focal Fossa): GCC/S390x"
arch: s390x
distro: ubuntu20.04
distro: ubuntu22.04
cc: gcc
cxx: g++
- label: "Ubuntu 20.04 (Focal Fossa): GCC/RISC-V"
- label: "Ubuntu 22.04 (Focal Fossa): GCC/RISC-V"
arch: riscv64
distro: ubuntu20.04
distro: ubuntu22.04
cc: gcc
cxx: g++

Expand All @@ -62,19 +62,21 @@ jobs:
cxx: clang++

# ====== Fedora Linux =============================================
- label: "Fedora 35: GCC/PPC64"
- label: "Fedora 39: GCC/PPC64"
arch: ppc64le
distro: fedora35
distro: fedora39
cc: gcc
cxx: g++


# ###### Build commands #################################################
name: ${{ matrix.label }}
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
# NOTE: dreibh/run-on-arch-action provides the upstream
# uraimo/run-on-arch-action action, with additional dockerfiles
# needed for the builds here!
- uses: dreibh/run-on-arch-action@dreibh/tests
name: Build
id: build
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/packaging.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# GitHub Actions Scripts
# Copyright (C) 2021-2023 by Thomas Dreibholz
# Copyright (C) 2021-2024 by Thomas Dreibholz
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -30,7 +30,7 @@ jobs:
name: Ubuntu Packaging
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Packaging
shell: bash
run: |
Expand All @@ -47,7 +47,7 @@ jobs:
image: debian:unstable
options: "--privileged"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Packaging
shell: bash
# NOTE: The Debian container has no "sudo". It is necessary to install
Expand All @@ -68,7 +68,7 @@ jobs:
image: fedora:latest
options: "--privileged"
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Packaging
shell: bash
run: |
Expand Down

0 comments on commit b109f7c

Please sign in to comment.