[3.x] Throw exception if duplicate definitions of actions are found #758
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
pull_request: | |
jobs: | |
ubuntu: | |
strategy: | |
fail-fast: false | |
matrix: | |
buildType: [RelWithDebInfo, Debug] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
with: | |
submodules: recursive | |
- name: update | |
run: sudo apt-get update | |
- name: install deps | |
run: sudo apt install -y ninja-build libmariadb-dev zlib1g-dev mariadb-server | |
- name: cmake | |
run: | | |
mkdir build | |
cd build | |
cmake .. -G Ninja -DCMAKE_BUILD_TYPE=${{ matrix.buildType }} | |
- name: build sapphire | |
run: cd build && ninja | |
windows: | |
strategy: | |
fail-fast: false | |
matrix: | |
buildType: [RelWithDebInfo, Debug] | |
runs-on: windows-2019 | |
steps: | |
- uses: actions/[email protected] | |
with: | |
submodules: recursive | |
- name: Enable Developer Command Prompt | |
uses: ilammy/[email protected] | |
- name: install deps | |
run: | | |
choco install --no-progress mariadb ninja | |
- name: cmake init | |
run: | | |
mkdir build | |
cd build | |
cmake .. -G Ninja -DCMAKE_BUILD_TYPE=${{ matrix.buildType }} -DCMAKE_CXX_COMPILER=cl -DCMAKE_C_COMPILER=cl | |
- name: build sapphire | |
run: cd build && ninja |