Skip to content

No deploy without tests #28

No deploy without tests

No deploy without tests #28

Workflow file for this run

name: CI (on push)
on:
push:
branches: [ main, master ]
pull_request:
branches: [ main, master ]
jobs:
build:
runs-on: windows-2022
steps:
- uses: actions/checkout@v3
- name: Get Conan
id: conan
uses: turtlebrowser/[email protected]
- name: Add Conan remote
run: conan remote add DEPS_REMOTE ${{ secrets.CONAN_REMOTE_URL }}
- name: Detect profile
run: conan profile detect
- name: Cache Conan packages
id: cache-conan
uses: actions/cache@v3
env:
cache-name: cache-conan-packages
with:
path: ~/.conan/data
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/*.ini') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- if: ${{ steps.cache-conan.outputs.cache-hit == 'true' }}
name: List the state of Conan packages
continue-on-error: true
run: conan list "*"
- name: Build
id: build
uses: bentoudev/zet-cpp-build@main