mirror of
https://github.com/cpm-cmake/CPM.cmake.git
synced 2025-11-16 22:27:41 -05:00
* use semicolon as empty command and add test * remove platform specific test coverage * only run actions for pushes and prs into master (avoid duplication) * remove cache test as it's already part of the test suite * update version * test cache reuse
30 lines
590 B
YAML
30 lines
590 B
YAML
name: Ubuntu
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
|
|
- name: install updates
|
|
run: |
|
|
wget -O cmake.sh https://cmake.org/files/v3.14/cmake-3.14.0-Linux-x86_64.sh
|
|
sudo sh cmake.sh --skip-license --exclude-subdir --prefix=/usr/local
|
|
export PATH=/usr/local/bin:$PATH
|
|
cmake --version
|
|
|
|
- name: run tests
|
|
run: |
|
|
cmake -Htest -Bbuild/test
|
|
cmake --build build/test --target test-verbose
|