Skip to content

CI

CI #33

Workflow file for this run

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: |
apt-get update
apt-get install -y wget build-essential clang
g++ --version
clang++ --version
- name: Download
run: |
wget "$GITHUB_SERVER_URL/$GITHUB_REPOSITORY/archive/$GITHUB_SHA.tar.gz"
tar -xzvf "$GITHUB_SHA.tar.gz" --strip-components=1
- 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 || true
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