Skip to content

Updated CI to added Ubuntu 24.04. #21

Updated CI to added Ubuntu 24.04.

Updated CI to added Ubuntu 24.04. #21

Workflow file for this run

name: CI

Check failure on line 1 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml: (Line: 38, Col: 14, Idx: 905) - (Line: 38, Col: 20, Idx: 911): While scanning a plain scalar, find unexpected ':'.
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