Skip to content

Update ubuntu Docker tag to noble-20250127 #20

Update ubuntu Docker tag to noble-20250127

Update ubuntu Docker tag to noble-20250127 #20

Workflow file for this run

---
name: C/C++ CMake/GNU Linux CI Test
on: # yamllint disable-line rule:truthy
push:
branches: ["main"]
pull_request:
# The branches below must be a subset of the branches above
branches: ["main"]
workflow_dispatch:
jobs:
test:
name: C/C++ CMake CI Test
strategy:
matrix:
os: ["ubuntu-24.04"]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Install
shell: bash
run: |
if [ "$RUNNER_OS" == "macOS" ]; then
brew install vcpkg
git clone https://github.com/microsoft/vcpkg "$HOME/vcpkg"
export VCPKG_ROOT="$HOME/vcpkg"
echo "VCPKG_ROOT=$HOME/vcpkg" >> $GITHUB_ENV
elif [ "$RUNNER_OS" == "Linux" ]; then
echo "VCPKG_ROOT=/usr/local/share/vcpkg" >> $GITHUB_ENV
elif [ "$RUNNER_OS" == "Windows" ]; then
echo "VCPKG_ROOT=C:/vcpkg" >> $GITHUB_ENV
fi
- name: Check Tools
run: |
echo "-----------"
make --version
echo "-----------"
cmake --version
echo "-----------"
vcpkg --version
echo "-----------"
- name: Install dependencies
run: |
make dependencies
- name: Build
run: |
make build
- name: Test
run: |
make test