Updated CI to added Ubuntu 24.04. #21
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | ||
on: | ||
push: | ||
pull_request: | ||
schedule: | ||
- cron: '0 0 1 * *' | ||
jobs: | ||
Linux: | ||
name: Linux | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-20.04, ubuntu-22.04, ubuntu-24.04] | ||
fail-fast: false | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Script | ||
run: | | ||
set -x | ||
bash -o pipefail -- info.sh | ||
bash -e -o pipefail -- ipinfo.sh | ||
bash -e -o pipefail -- typeinfo.sh | ||
CXX=clang++ bash -e -o pipefail -- typeinfo.sh | ||
- name: ShellCheck | ||
run: shopt -s globstar; shellcheck -o avoid-nullary-conditions,check-extra-masked-returns,check-set-e-suppressed,deprecate-which,quote-safe-variables,require-double-brackets -s bash **/*.sh | ||
continue-on-error: true | ||
Linux-Container: | ||
name: Linux Container | ||
runs-on: ubuntu-latest | ||
container: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu:14.04, ubuntu:16.04, ubuntu:18.04, ubuntu:20.04, ubuntu:22.04, ubuntu:24.04] | ||
fail-fast: false | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Install | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y clang | ||
- name: Script | ||
run: | | ||
set -x | ||
bash -o pipefail -- info.sh | ||
bash -e -o pipefail -- ipinfo.sh | ||
bash -e -o pipefail -- typeinfo.sh | ||
CXX=clang++ bash -e -o pipefail -- typeinfo.sh | ||
macOS: | ||
name: macOS Datatype Information | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [macos-13, macos-latest] | ||
fail-fast: false | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Script | ||
run: | | ||
set -x | ||
bash -e -o pipefail -- typeinfo.sh |