mirror of
https://github.com/avinal/blowfish.git
synced 2026-01-09 22:38:33 +05:30
Some checks failed
build / Ubuntu Latest GCC (push) Has been cancelled
Removed Windows and macOS configurations from the CI matrix.
34 lines
776 B
YAML
34 lines
776 B
YAML
name: build
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
build:
|
|
name: ${{ matrix.config.name }}
|
|
runs-on: ${{ matrix.config.os }}
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
config:
|
|
- {
|
|
name: "Ubuntu Latest GCC",
|
|
os: ubuntu-latest,
|
|
build_type: "Debug", cc: "gcc", cxx: "g++"
|
|
}
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: configure
|
|
shell: cmake -P {0}
|
|
run: |
|
|
set(ENV{CC} ${{matrix.config.cc}})
|
|
set(ENV{CXX} ${{matrix.config.cxx}})
|
|
- name: generate
|
|
run: |
|
|
mkdir build
|
|
cd build
|
|
cmake -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=${{matrix.config.build_type}} ..
|
|
- name: build
|
|
run: cmake --build build --config ${{matrix.config.build_type}}
|
|
|